#[link_section = ".stack_buffer"]#[no_mangle]pub(crate) static mut STACK_MEMORY: [u8; 2304]Expand description
Size to allocate for the stack.
This creates a static buffer inserted into the .stack_buffer
section that the linker script picks up and places at the correct
location in RAM.
When compiling for a macOS host, this section attribute is elided as
it is incompatible with Mach-O objects and yields the following
error: mach-o section specifier requires a segment and section separated by a comma.