-
Notifications
You must be signed in to change notification settings - Fork 409
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
Error: failed to parse manifest
when using the workspace inheritance feature from Rust 1.64
#1180
Comments
I can reproduce with a similar environment setup. |
I can confirm this bug cargo -vV
|
The original issue identified problems with name, version, description
|
Sorry for the distraction my commented above need to be corrected after reading, the doc more carfully "license" and "repository" are not on the list.... https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
|
@martinfrances107: Yes they are in the list, in the second column. This is the full list of attributes that can be referenced from a workspace as of Rust 1.64: Of those, only |
🐛 Bug description
I set up the my
Cargo.toml
files to use the workspace inheritance feature from Rust 1.64, which resulted in this error:Compiling the same project with
cargo build
works fine, so this error must be specific towasm-pack
.🤔 Expected Behavior
I would've expected the Cargo.toml file to be parsed correctly.
👟 Steps to reproduce
Workspace Cargo.toml:
Wasm Cargo.toml:
This commit shows the diff between the
Cargo.toml
files.🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.10.3
rustc version: 1.64
The text was updated successfully, but these errors were encountered: