mirror of
https://github.com/rust-lang/rust.git
synced 2026-02-21 13:13:54 +00:00
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.