3 ms·
Looking at rt.rs: sys::stack_overflow::init(); I probably don't know what this function does, because my initial guess is not very comforting. :)
by majewsky 9y ago
Looking at rt.rs:
sys::stack_overflow::init();
I probably don't know what this function does, because my initial guess is not very comforting. :)
- steveklabnik 9y agoHa! That's for handling one, but that's pretty funny.
- rhencke 9y agoIt initializes stack overflow handling. You can read about what that means here, for Unix: https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa887f1be60dd0b7352ce/src/libstd/sys/unix/stack_overflow.rs#L79 https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...
- deleted 9y ago[deleted]
- nickik 9y agoJust don't call sys::stack_overflow::exploit(); and you will be fine.