Skip to content

Commit e723e43

Browse files
Enable #[thread_local] on armv6k-nintendo-3ds
Since libctru 2.1.2 was released (https://github.com/devkitPro/libctru/releases/tag/v2.1.2) we should be able to use real #[thread_local] without corruption issues on the 3DS target.
1 parent 5b8f284 commit e723e43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_target/src/spec/armv6k_nintendo_3ds.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ pub fn target() -> Target {
2929
pre_link_args,
3030
exe_suffix: ".elf".into(),
3131
no_default_libraries: false,
32-
// There are some issues in debug builds with this enabled in certain programs.
33-
has_thread_local: false,
32+
has_thread_local: true,
3433
..Default::default()
3534
},
3635
}

0 commit comments

Comments
 (0)