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
When specifying a profile e.g. wasm-pack build --profile wasm-release a_crate, it will fail if the crate is part of a workspace and the workspace is not a package itself.
Error: failed to parse manifest: /home/code/project/Cargo.toml
Caused by: failed to parse manifest: /home/code/project/Cargo.toml
Caused by: TOML parse error at line 1, column 1
|
1 | [workspace]
| ^
missing field `package`
🤔 Expected Behavior
wasm-pack should use the profile defined in the workspace Cargo.toml.
👟 Steps to reproduce
Create a workspace with a profile called wasm-release
Add a crate to the workspace
Try to build that crate with wasm-pack build --profile wasm-release <crate>
🌍 Your environment
wasm-pack version: 0.13.1
rustc version: 1.85.0
The text was updated successfully, but these errors were encountered:
🐛 Bug description
When specifying a profile e.g.
wasm-pack build --profile wasm-release a_crate
, it will fail if the crate is part of a workspace and the workspace is not a package itself.🤔 Expected Behavior
wasm-pack
should use the profile defined in the workspaceCargo.toml
.👟 Steps to reproduce
wasm-release
wasm-pack build --profile wasm-release <crate>
🌍 Your environment
wasm-pack version:
0.13.1
rustc version:
1.85.0
The text was updated successfully, but these errors were encountered: