Skip to content

Commit f4b7439

Browse files
authored
Rollup merge of rust-lang#120188 - devnexen:update_bsd_compiler_base_specs, r=wesleywiser
compiler: update freebsd and netbsd base specs. both support thread local.
2 parents 4bf8274 + f2e7cbd commit f4b7439

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
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)