Skip to content

error when compiling with --allow warnings with certain targets #8010

@dakom

Description

@dakom

When I set RUSTFLAGS="--allow warnings" and try to cargo build --target wasm32-unknown-unknown I get the following error:

error: output of --print=file-names has changed in the compiler, cannot parse
command was: `rustc - --crate-name ___ --print=file-names --allow warnings --target wasm32-unknown-unknown --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg`

rustc 1.43.0-nightly (564758c4c 2020-03-08)
cargo 1.43.0-nightly (bda5051 2020-03-02)

originally filed here: rust-lang/rust#70070

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustflagsArea: rustflagsC-bugCategory: bugS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions