Hacker News new | ask | show | jobs
by AndyKelley 327 days ago
Zig's linker will calculate this information automatically in most cases when statically linking (via analysis of machine code disassembly). Otherwise, there is a default upper bound stack value, overridable via user annotation.