about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-10-05 17:27:33 +0530
committerGitHub <noreply@github.com>2022-10-05 17:27:33 +0530
commit814b827efe3369ca4ae155adf2f9f299549b795f (patch)
treeffac5db993e54529e14dbbea57654251fe9e5c95 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentab88c19f15fe12625524a6474e0d63ead0333be0 (diff)
parent2d9e61f0c7ae23f485a0dd55c73bcaf5302953dd (diff)
downloadrust-814b827efe3369ca4ae155adf2f9f299549b795f.tar.gz
rust-814b827efe3369ca4ae155adf2f9f299549b795f.zip
Rollup merge of #102440 - sunfishcode:sunfishcode/wasm-no-export-tls-api, r=oli-obk
Only export `__tls_*` on wasm32-unknown-unknown.

From talking with `@abrown,` we aren't planning to have hosts call these `__tls_*` functions; instead, TLS initialization will be handled transparently within libc. Consequently, these functions don't need to be exported.

Leave them exported on wasm32-unknown-unknown though, as wasm-bindgen does call them.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions