diff options
| author | Michael Neumann <mneumann@ntecs.de> | 2015-11-01 22:56:31 +0100 |
|---|---|---|
| committer | Michael Neumann <mneumann@ntecs.de> | 2015-11-01 22:56:31 +0100 |
| commit | 9415450aced4b9592efddd98da97f54ee8acd9fa (patch) | |
| tree | 419f8d596dd2ffbf69d5317d8a1fb3cbee6d3a54 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a5fbb3a25faeb08f50f571a6aa227f14a9d086c2 (diff) | |
| download | rust-9415450aced4b9592efddd98da97f54ee8acd9fa.tar.gz rust-9415450aced4b9592efddd98da97f54ee8acd9fa.zip | |
Use guard-pages also on DragonFly/FreeBSD.
Only tested on DragonFly.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
| -rw-r--r-- | src/libstd/sys/unix/stack_overflow.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/stack_overflow.rs b/src/libstd/sys/unix/stack_overflow.rs index f5fd11b61b1..5f624bc76b3 100644 --- a/src/libstd/sys/unix/stack_overflow.rs +++ b/src/libstd/sys/unix/stack_overflow.rs @@ -34,6 +34,8 @@ impl Drop for Handler { #[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 @@ mod imp { #[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 { |
