logoalt Hacker News

xobstoday at 6:44 AM1 replyview on HN

The Rust runtime will, at a minimum, set up the stack pointer, zero out the .bss, and fill in the .data section. You're right in that a heap is optional, but Rust will get very cranky if you don't set up the .data or .bss sections.


Replies

comextoday at 7:18 AM

As will C.

show 1 reply