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.
This commit is contained in:
Ian Chamberlain 2023-02-12 16:57:05 -05:00
parent 5b8f284536
commit e723e43590
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60

View File

@ -29,8 +29,7 @@ pub fn target() -> Target {
pre_link_args,
exe_suffix: ".elf".into(),
no_default_libraries: false,
// There are some issues in debug builds with this enabled in certain programs.
has_thread_local: false,
has_thread_local: true,
..Default::default()
},
}