Y
Hacker News
new
|
ask
|
show
|
jobs
by
majewsky
3123 days 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. :)
3 comments
rhencke
3123 days ago
It initializes stack overflow handling. You can read about what that means here, for Unix:
https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...
link
nickik
3123 days ago
Just don't call sys::stack_overflow::exploit(); and you will be fine.
link
steveklabnik
3123 days ago
Ha! That's for
handling
one, but that's pretty funny.
link
https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...