Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't export __wasm_init_memory on WebAssembly. #102426

Merged
merged 1 commit into from
Sep 29, 2022

Commits on Sep 28, 2022

  1. 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-segments
    sunfishcode committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    284c942 View commit details
    Browse the repository at this point in the history