mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 07:13:24 +03:00
376c81c94a
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.