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

rustc: Allow the cdylib crate type with wasm32-wasi #64188

Merged
merged 1 commit into from
Sep 11, 2019

Commits on Sep 5, 2019

  1. rustc: Allow the cdylib crate type with wasm32-wasi

    The wasm32-wasi target respects configuration around `crt-static` in
    general, but is defaulted to being static. This interacted badly with
    code which validated the `cdylib` crate type for `wasm32-wasi`,
    erroneously saying that the `cdylib` crate type wasn't supported on
    `wasm32-wasi` by default. This commit sets the appropriate flag in
    `wasm32_wasi`'s target specification to indicate that the `cdylib` crate
    type is supported regardless of `crt-static`
    
    Closes rust-lang#64187
    alexcrichton committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    bb9d3be View commit details
    Browse the repository at this point in the history