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 11:13:51 -0700
committerDan Gohman <dev@sunfishcode.online>2022-09-28 11:13:51 -0700
commit284c94257fbf32e62bbe3a8f9e71ecb644763df9 (patch)
tree8e35486eba9f0a975da583afe2e60de842716b86 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent09ae7846a272a500ff7145255f0de5556c0b8949 (diff)
downloadrust-284c94257fbf32e62bbe3a8f9e71ecb644763df9.tar.gz
rust-284c94257fbf32e62bbe3a8f9e71ecb644763df9.zip
Don't export `__wasm_init_memory` on WebAssembly.
Since #72889, the Rust wasm target doesn't use --passive-segments, so
remove the `--export=__wasm_init_memory`.

As documented in the [tool-conventions Linking convention],
`__wasm_init_memory` is not intended to be exported.

[tool-conventions Linking convention]: https://github.com/WebAssembly/tool-conventions/blob/7c064f304858f67ebf22964a84b7e9658e29557a/Linking.md#shared-memory-and-passive-segments
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions