mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Disable has_thread_local
due to weird issues in some programs
For example, in the following issue the `thread_info` thread-local is not correctly initialized in debug builds: https://github.com/Meziu/ctru-rs/issues/60
This commit is contained in:
parent
bc63d5a26a
commit
5d5039e1b8
@ -37,7 +37,8 @@ pub fn target() -> Target {
|
||||
pre_link_args,
|
||||
exe_suffix: ".elf".into(),
|
||||
no_default_libraries: false,
|
||||
has_thread_local: true,
|
||||
// There are some issues in debug builds with this enabled in certain programs.
|
||||
has_thread_local: false,
|
||||
..Default::default()
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user