rust/library/std
Matthias Krüger b81678e627
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
2024-03-10 10:58:14 +01:00
..
benches
src Rollup merge of #113525 - workingjubilee:handle-dynamic-minsigstksz, r=m-ou-se 2024-03-10 10:58:14 +01:00
tests Update feature names for new stdarch 2024-01-30 03:33:12 +00:00
build.rs std: enabling new netbsd (10) calls. 2024-02-11 08:48:02 +00:00
Cargo.toml add platform-specific function to get the error number for HermitOS 2024-02-28 23:01:56 +01:00