calculate needed stack space with a disgusting hack

This commit is contained in:
2026-06-05 20:24:50 +02:00
parent be42267a59
commit a6d44ec5e0
5 changed files with 28 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
func concat[a: i64, b: i64] : i64
ab_str := _stackalloc(50)
ab_str := _stackalloc(50) as str
io.snprintf(ab_str, 50, "%d%d", a, b)
return str.parse_i64(ab_str)