about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-05-03 13:59:50 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-05-03 14:09:01 -0700
commit884632cc796816fd9d3c8de60f2245c216f9a25a (patch)
tree6a77de2a110d0f5d0f2313c05c30756382d5c098 /src/libstd/sys
parent3af1bdc4bcc502d576b1e836f99bae1eb29dbafd (diff)
downloadrust-884632cc796816fd9d3c8de60f2245c216f9a25a.tar.gz
rust-884632cc796816fd9d3c8de60f2245c216f9a25a.zip
rustc: Always handle exported symbols on the wasm target
Currently when linking an artifact rustc will only conditionally call
the `Linker::export_symbols` function, but this causes issues on some
targets, like WebAssembly, where it means that executable outputs will
not have the same symbols exported that cdylib outputs have. This commit
sinks the conditional call to `export_symbols` inside the various
implementations of the function that still need it, and otherwise the
wasm linker is configured to always pass through symbol visibility
lists.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions