about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-22 11:37:02 +0100
committerGitHub <noreply@github.com>2024-03-22 11:37:02 +0100
commitb317cda7ea1ced6f5a6da42dbcd2c508255d6612 (patch)
treeb67cd8ba82a5bf83fdf6f2b815246c259d2a102d /compiler/rustc_codegen_gcc
parent7481c0eab5240efd7ac05bd6e2812de1df3510dd (diff)
parent542533865aa2d828665d96047ed575267eed7ac6 (diff)
downloadrust-b317cda7ea1ced6f5a6da42dbcd2c508255d6612.tar.gz
rust-b317cda7ea1ced6f5a6da42dbcd2c508255d6612.zip
Rollup merge of #122847 - workingjubilee:suggest-rust-min-stack-workaround-on-overflow, r=TaKO8Ki
Suggest `RUST_MIN_STACK` workaround on overflow

For some Rust crates, like p384, we can't do a whole lot about it even if the stack overflow is reported like in rust-lang/rust#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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions