about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-13 18:19:19 +0530
committerGitHub <noreply@github.com>2022-10-13 18:19:19 +0530
commit376c81c94a05ea13aaef9462cf6ff744b396374f (patch)
tree819df076df147bf6509fae8642095a287d8fea80 /compiler/rustc_codegen_llvm/src/asm.rs
parentad45dd172213fff157cde566db9fd9279798824e (diff)
parentb3c21efa8a9c22e8b25136d32b35537856bd9c45 (diff)
downloadrust-376c81c94a05ea13aaef9462cf6ff744b396374f.tar.gz
rust-376c81c94a05ea13aaef9462cf6ff744b396374f.zip
Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-se
openbsd: don't reallocate a guard page on the stack.

the kernel currently enforce that a stack is immutable. calling mmap(2) or  mprotect(2) to change it will result in EPERM, which generate a panic!().

so just do like for Linux, and trust the kernel to do the right thing.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions