You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a yew project I'd like to run cargo geiger on, but geiger fails because it tries to compile for the native target (x86_64-apple-darwin)rather than wasm32-unknown-unknown.
cargo check --target wasm32-unknown-unknown works and cargo check --target is-not-used fails due to that being an unknown triple, but cargo geiger --target wasm32-unknown-unknown fails because it tries to compile for x86_64-apple-darwin and cargo geiger --target is-not-used fails the same way. This makes me think that --target is not being used.
$ cargo geiger -V
cargo-geiger 0.9.1
$ cargo geiger --target is-not-used
Compiling proc-macro2 v1.0.9
...
error: failed to run custom build command for `yew-router v0.11.0`
Caused by:
process didn't exit successfully: `/Users/ctm/poker/rust/poker/target/debug/build/yew-router-ee33477902963ec1/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Selected target `x86_64-apple-darwin` is not compatible with web-sys', /Users/ctm/.cargo/registry/src/github.com-1ecc6299db9ec823/yew-router-0.11.0/build.rs:28:9
The text was updated successfully, but these errors were encountered:
I have a yew project I'd like to run
cargo geiger
on, but geiger fails because it tries to compile for the native target (x86_64-apple-darwin
)rather thanwasm32-unknown-unknown
.cargo check --target wasm32-unknown-unknown
works andcargo check --target is-not-used
fails due to that being an unknown triple, butcargo geiger --target wasm32-unknown-unknown
fails because it tries to compile forx86_64-apple-darwin
andcargo geiger --target is-not-used
fails the same way. This makes me think that--target
is not being used.The text was updated successfully, but these errors were encountered: