about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-10 10:58:14 +0100
committerGitHub <noreply@github.com>2024-03-10 10:58:14 +0100
commitb81678e627e2321151bc883e9d148087ca228dca (patch)
treecbe2d83306cc6e650d39f6ebca47f32c5367de9d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1b44889ec2d983d7b7fa7566d4048a57b2f7a1c9 (diff)
parent9da004ea1997ac0eedbb882fa52960417725bd48 (diff)
downloadrust-b81678e627e2321151bc883e9d148087ca228dca.tar.gz
rust-b81678e627e2321151bc883e9d148087ca228dca.zip
Rollup merge of #113525 - workingjubilee:handle-dynamic-minsigstksz, r=m-ou-se
Dynamically size sigaltstk in std

On modern Linux with Intel AMX and 1KiB matrices,
Arm SVE with potentially 2KiB vectors,
and RISCV Vectors with up to 16KiB vectors,
we must handle dynamic signal stack sizes.

We can do so unconditionally by using getauxval,
but assuming it may return 0 as an answer,
thus falling back to the old constant if needed.

Fixes https://github.com/rust-lang/rust/issues/107795
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions