mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Use guard-pages also on DragonFly/FreeBSD.
Only tested on DragonFly.
This commit is contained in:
@@ -34,6 +34,8 @@ fn drop(&mut self) {
|
||||
#[cfg(any(target_os = "linux",
|
||||
target_os = "macos",
|
||||
target_os = "bitrig",
|
||||
target_os = "dragonfly",
|
||||
target_os = "freebsd",
|
||||
all(target_os = "netbsd", not(target_vendor = "rumprun")),
|
||||
target_os = "openbsd"))]
|
||||
mod imp {
|
||||
@@ -143,6 +145,8 @@ pub unsafe fn drop_handler(handler: &mut Handler) {
|
||||
#[cfg(not(any(target_os = "linux",
|
||||
target_os = "macos",
|
||||
target_os = "bitrig",
|
||||
target_os = "dragonfly",
|
||||
target_os = "freebsd",
|
||||
all(target_os = "netbsd", not(target_vendor = "rumprun")),
|
||||
target_os = "openbsd")))]
|
||||
mod imp {
|
||||
|
||||
Reference in New Issue
Block a user