Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
majewsky
8y ago
0 comments
Share
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. :)
undefined | Better HN
0 comments
default
newest
oldest
rhencke
8y ago
It initializes stack overflow handling. You can read about what that means here, for Unix:
https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...
nickik
8y ago
Just don't call sys::stack_overflow::exploit(); and you will be fine.
steveklabnik
8y ago
Ha! That's for
handling
one, but that's pretty funny.
j
/
k
navigate · click thread line to collapse