File tree 4 files changed +7
-1
lines changed
compiler/rustc_target/src/spec/base
library/std/src/sys/pal/unix
4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub fn opts() -> TargetOptions {
8
8
has_rpath : true ,
9
9
position_independent_executables : true ,
10
10
relro_level : RelroLevel :: Full ,
11
+ has_thread_local : true ,
11
12
default_dwarf_version : 2 ,
12
13
..Default :: default ( )
13
14
}
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
9
9
crt_static_respected : true ,
10
10
position_independent_executables : true ,
11
11
relro_level : RelroLevel :: Full ,
12
+ has_thread_local : true ,
12
13
abi_return_struct_as_int : true ,
13
14
default_dwarf_version : 2 ,
14
15
..Default :: default ( )
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pub fn opts() -> TargetOptions {
9
9
has_rpath : true ,
10
10
position_independent_executables : true ,
11
11
relro_level : RelroLevel :: Full ,
12
+ has_thread_local : true ,
12
13
use_ctors_section : true ,
13
14
default_dwarf_version : 2 ,
14
15
..Default :: default ( )
Original file line number Diff line number Diff line change 17
17
target_os = "android" ,
18
18
target_os = "fuchsia" ,
19
19
target_os = "redox" ,
20
- target_os = "hurd"
20
+ target_os = "hurd" ,
21
+ target_os = "freebsd" ,
22
+ target_os = "netbsd" ,
23
+ target_os = "dragonfly"
21
24
) ) ]
22
25
// FIXME: The Rust compiler currently omits weakly function definitions (i.e.,
23
26
// __cxa_thread_atexit_impl) and its metadata from LLVM IR.
You can’t perform that action at this time.
0 commit comments