Skip to content

Commit ed4b99a

Browse files
committed
fixing build for the BSD
1 parent dec4740 commit ed4b99a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/std/src/sys/pal/unix/thread_local_dtor.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
target_os = "android",
1818
target_os = "fuchsia",
1919
target_os = "redox",
20-
target_os = "hurd"
20+
target_os = "hurd",
21+
target_os = "freebsd",
22+
target_os = "netbsd",
23+
target_os = "dragonfly"
2124
))]
2225
// FIXME: The Rust compiler currently omits weakly function definitions (i.e.,
2326
// __cxa_thread_atexit_impl) and its metadata from LLVM IR.

0 commit comments

Comments
 (0)