Skip to content

Commit

Permalink
Rollup merge of #113525 - workingjubilee:handle-dynamic-minsigstksz, …
Browse files Browse the repository at this point in the history
…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 rust-lang/rust#107795
  • Loading branch information
matthiaskrgr authored Mar 10, 2024
2 parents f06206d + 0860639 commit 4fc3d3d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4fc3d3d

Please sign in to comment.