Skip to content

Commit cf2319b

Browse files
committed
Auto merge of #29510 - mneumann:dragonfly-guard-page, r=alexcrichton
Only tested on DragonFly.
2 parents 033e142 + 9415450 commit cf2319b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libstd/sys/unix/stack_overflow.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ impl Drop for Handler {
3434
#[cfg(any(target_os = "linux",
3535
target_os = "macos",
3636
target_os = "bitrig",
37+
target_os = "dragonfly",
38+
target_os = "freebsd",
3739
all(target_os = "netbsd", not(target_vendor = "rumprun")),
3840
target_os = "openbsd"))]
3941
mod imp {
@@ -143,6 +145,8 @@ mod imp {
143145
#[cfg(not(any(target_os = "linux",
144146
target_os = "macos",
145147
target_os = "bitrig",
148+
target_os = "dragonfly",
149+
target_os = "freebsd",
146150
all(target_os = "netbsd", not(target_vendor = "rumprun")),
147151
target_os = "openbsd")))]
148152
mod imp {

0 commit comments

Comments
 (0)