diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-09-28 11:13:51 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-09-28 11:13:51 -0700 |
| commit | 284c94257fbf32e62bbe3a8f9e71ecb644763df9 (patch) | |
| tree | 8e35486eba9f0a975da583afe2e60de842716b86 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 09ae7846a272a500ff7145255f0de5556c0b8949 (diff) | |
| download | rust-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
