about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-02 18:29:33 +0000
committerbors <bors@rust-lang.org>2015-11-02 18:29:33 +0000
commitcf2319bbb683b87add123d7f7bed2a681e4f7881 (patch)
treedb0fd0ae0f27f44d27d9b23c4d01f73deec0a803 /src/libstd/sys/unix/stack_overflow.rs
parent033e142915e5d6ff3ec24275810f860530e2edc4 (diff)
parent9415450aced4b9592efddd98da97f54ee8acd9fa (diff)
downloadrust-cf2319bbb683b87add123d7f7bed2a681e4f7881.tar.gz
rust-cf2319bbb683b87add123d7f7bed2a681e4f7881.zip
Auto merge of #29510 - mneumann:dragonfly-guard-page, r=alexcrichton
Only tested on DragonFly.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
-rw-r--r--src/libstd/sys/unix/stack_overflow.rs4
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 {