We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gpapi build fails on resolver version 2, which is the default for the 2021 edition of Rust.
gpapi
cargo new
cargo add [email protected]
cargo check
The build check finishes with no errors.
Compilation fails. Error output: check.log
Building the library itself succeeds, as the resolver version 1 is the default for workspaces, due to backwards compatibility, and this repository uses a workspace. More information about the new resolver is here: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html.
For now, the issue can be worked around by including package.resolver = "1" in Cargo.toml.
package.resolver = "1"
Cargo.toml
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gpapi
build fails on resolver version 2, which is the default for the 2021 edition of Rust.How to reproduce
cargo new
gpapi
as a dependency withcargo add [email protected]
cargo check
Expected result
The build check finishes with no errors.
Actual result
Compilation fails. Error output: check.log
Details
Building the library itself succeeds, as the resolver version 1 is the default for workspaces, due to backwards compatibility, and this repository uses a workspace. More information about the new resolver is here: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html.
For now, the issue can be worked around by including
package.resolver = "1"
inCargo.toml
.The text was updated successfully, but these errors were encountered: