Closed
Description
When compiling a Rust project for the wasm32-unknown-unknown
target with the -Awarnings
flag, the following error is encountered:
error: output of --print=file-names missing when learning about target-specific information from rustc
command was: `.../.rustup/toolchains/nightly-2023-07-12-aarch64-apple-darwin/bin/rustc - --crate-name ___ --print=file-names -Awarnings --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=split-debuginfo --print=crate-name --print=cfg`
Steps To Reproduce:
Create blank project
Set RUSTFLAGS to "-Awarnings"
Run the command: cargo build --target wasm32-unknown-unknown
(Tested on Latest Stable as well)