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

create an issue to cargo #294

Open
dj8yfo opened this issue Jan 22, 2025 · 1 comment
Open

create an issue to cargo #294

dj8yfo opened this issue Jan 22, 2025 · 1 comment

Comments

@dj8yfo
Copy link
Collaborator

dj8yfo commented Jan 22, 2025

as mentioned in #289 (comment), one should create an issue to cargo with a minimal reproducer

about

RUSTFLAGS="-Awarnings" cargo build --target wasm32-unknown-unknown

resulting in a cryptic error, while rustc actually runs the command suggested as reason of failure without errors

cat src/lib.rs | 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
@dj8yfo
Copy link
Collaborator Author

dj8yfo commented Jan 22, 2025

CARGO_ENCODED_RUSTFLAGS="-Awarnings" cargo build --target wasm32-unknown-unknown is similar error

both of

RUSTFLAGS="-Awarnings" cargo build
CARGO_ENCODED_RUSTFLAGS="-Awarnings" cargo build

are fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant