-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Description
Currently if one removes the lock file then runs DO_FEATURE_MATRIX=true RUSTUP_TOOLCHAIN=1.48.0 contrib/test.sh we get an error
thread 'main' panicked at 'packages downloaded: failed to download `wasm-bindgen-test v0.3.37`
Caused by:
0: unable to get packages from source
1: failed to parse manifest at `/home/tobin/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-test-0.3.37/Cargo.toml`
2: feature `resolver` is required
However if we remove the following from the manifest the build is fine
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
getrandom = { version = "0.2", features = ["js"] }
I do not understand why cargo tries to pull down wasm-bingen-test if the target is not wasm32? Is this a feature or a bug?
Metadata
Metadata
Assignees
Labels
No labels