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

Add some unstable target features for the wasm target codegen #97808

Merged
merged 1 commit into from
Jun 7, 2022

Commits on Jun 6, 2022

  1. Add some unstable target features for the wasm target codegen

    I was experimenting with cross-language LTO for the wasm target recently
    between Rust and C and found that C was injecting the `+mutable-globals`
    flag on all functions. When specifying the corresponding
    `-Ctarget-feature=+mutable-globals` feature to Rust it prints a warning
    about an unknown feature. I've added the `mutable-globals` feature plus
    another few I know of to the list of known features for wasm targets.
    These features all continue to be unstable to source code as they were
    before.
    alexcrichton committed Jun 6, 2022
    Configuration menu
    Copy the full SHA
    ff37001 View commit details
    Browse the repository at this point in the history