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

It initializes stack overflow handling. You can read about what that means here, for Unix:

https://github.com/rust-lang/rust/blob/71340ca4e181b824bcefa...

Just don't call sys::stack_overflow::exploit(); and you will be fine.
Ha! That's for handling one, but that's pretty funny.