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

@ -120,9 +120,9 @@ pub fn options() -> TargetOptions {
// When the atomics feature is activated then these two keys matter,
// otherwise they're basically ignored by the standard library. In this
// mode, however, the `#[thread_local]` attribute works (i.e.
// `has_elf_tls`) and we need to get it to work by specifying
// `has_thread_local`) and we need to get it to work by specifying
// `local-exec` as that's all that's implemented in LLVM today for wasm.
has_elf_tls: true,
has_thread_local: true,
tls_model: TlsModel::LocalExec,
// gdb scripts don't work on wasm blobs