about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2024-01-22 21:17:46 +0000
committerDavid Carlier <devnexen@gmail.com>2024-01-22 21:17:46 +0000
commited4b99a99c5ef1ac54ade6b8b02ce5f44b905221 (patch)
tree4ff0f7d7b209c4bf6a06462e6e9dafcacc35e952
parentdec4740b7c83ac183686c431aa937c5c0bc98415 (diff)
downloadrust-ed4b99a99c5ef1ac54ade6b8b02ce5f44b905221.tar.gz
rust-ed4b99a99c5ef1ac54ade6b8b02ce5f44b905221.zip
fixing build for the BSD
-rw-r--r--library/std/src/sys/pal/unix/thread_local_dtor.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/unix/thread_local_dtor.rs b/library/std/src/sys/pal/unix/thread_local_dtor.rs
index 58f7ab84101..7e19e6eb9eb 100644
--- a/library/std/src/sys/pal/unix/thread_local_dtor.rs
+++ b/library/std/src/sys/pal/unix/thread_local_dtor.rs
@@ -17,7 +17,10 @@
     target_os = "android",
     target_os = "fuchsia",
     target_os = "redox",
-    target_os = "hurd"
+    target_os = "hurd",
+    target_os = "freebsd",
+    target_os = "netbsd",
+    target_os = "dragonfly"
 ))]
 // FIXME: The Rust compiler currently omits weakly function definitions (i.e.,
 // __cxa_thread_atexit_impl) and its metadata from LLVM IR.