This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 3cecc78
authored
Rollup merge of rust-lang#102426 - sunfishcode:sunfishcode/no-wasm-init-memory, r=nagisa
Don't export `__wasm_init_memory` on WebAssembly.
Since rust-lang#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-segments1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | 1183 | | |
1189 | 1184 | | |
1190 | 1185 | | |
1191 | 1186 | | |
1192 | 1187 | | |
1193 | 1188 | | |
1194 | | - | |
1195 | 1189 | | |
1196 | 1190 | | |
1197 | 1191 | | |
| |||
0 commit comments