1
Fork 0

Rename has_elf_tls to has_thread_local

This commit is contained in:
Chris Denton 2021-12-17 20:56:38 +00:00
parent 9ca26f111a
commit 391332c5d9
No known key found for this signature in database
GPG key ID: 713472F2F45627DE
15 changed files with 21 additions and 22 deletions

View file

@ -880,7 +880,7 @@ fn default_configuration(sess: &Session) -> CrateConfig {
ret.insert((sym::target_env, Some(Symbol::intern(env))));
ret.insert((sym::target_abi, Some(Symbol::intern(abi))));
ret.insert((sym::target_vendor, Some(Symbol::intern(vendor))));
if sess.target.has_elf_tls {
if sess.target.has_thread_local {
ret.insert((sym::target_thread_local, None));
}
for (i, align) in [