Skip to content

code can't be compiled for wasm32-unknown-unknown target with -Awarnings flag enabled #120106

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

Closed
1010adigupta opened this issue Jan 18, 2024 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@1010adigupta
Copy link

this error appears:

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`

##Get the error:
Take any code that successfully compiles set the RUSTFLAG to -Awarnings with target wasm32-unknown-unknown then try to compile this code

@1010adigupta 1010adigupta added the C-bug Category: This is a bug. label Jan 18, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 18, 2024
@ehuss
Copy link
Contributor

ehuss commented Jan 18, 2024

Thanks for the report! I believe this is a duplicate of #116626, so closing in favor of that.

@ehuss ehuss closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
@fmease fmease removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants