about summary refs log tree commit diff
path: root/src/libstd/sys/wasm/fast_thread_local.rs
AgeCommit message (Collapse)AuthorLines
2020-07-12adjust remaining targetsRalf Jung-9/+0
2019-12-22Format the worldMark Rousskov-1/+1
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-1/+1
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-07-25std: Use native `#[thread_local]` TLS on wasmAlex Crichton-0/+9
This commit moves `thread_local!` on WebAssembly targets to using the `#[thread_local]` attribute in LLVM. This was recently implemented upstream and is [in the process of being documented][dox]. This change only takes affect if modules are compiled with `+atomics` which is currently unstable and a pretty esoteric method of compiling wasm artifacts. This "new power" of the wasm toolchain means that the old `wasm-bindgen-threads` feature of the standard library can be removed since it should now be possible to create a fully functioning threaded wasm module without intrusively dealing with libstd symbols or intrinsics. Yay! [dox]: https://github.com/WebAssembly/tool-conventions/pull/116