0
Suggest `RUST_MIN_STACK` workaround on overflow by workingjubilee · Pull Request...
source link: https://github.com/rust-lang/rust/pull/122847
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Contributor
For some Rust crates, like p384, we can't do a whole lot about it even if the stack overflow is reported like in #122357 because the problem may be inside LLVM or another codegen backend. We can, however, suggest people set a new RUST_MIN_STACK
value while handling the SIGSEGV, as that stack-setting will carry forward into the dylib.
As a bonus, this also leads to cleaning up the stack-setting code a bit.
coder0xff reacted with thumbs up emoji
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK