about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDan Gohman <dev@sunfishcode.online>2022-09-28 14:40:53 -0700
committerDan Gohman <dev@sunfishcode.online>2022-09-29 16:28:03 -0700
commit2d9e61f0c7ae23f485a0dd55c73bcaf5302953dd (patch)
tree1b9316f54405d80f9deedfcef8458805b36cf3aa /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9c56d9d6fec6262bbb1549cfe466a812ae2c6523 (diff)
downloadrust-2d9e61f0c7ae23f485a0dd55c73bcaf5302953dd.tar.gz
rust-2d9e61f0c7ae23f485a0dd55c73bcaf5302953dd.zip
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