-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo build --release and cargo install use different features #7302
Comments
This is caused by |
Unfortunately that doesn't seem to be the issue:
|
Ah, I didn't realize you were comparing to Newer versions of getrandom do not specify its dependencies that way, so that may help. |
You're right, that seems to be the issue. |
Problem
The command
cargo build --release
uses different features thancargo install
.Steps
Notes
Output of
cargo version
:I've added some debug logs to
compute_metadata
, in particular when hashing in the features:The
cargo build --release
gives:and
cargo install
gives:The text was updated successfully, but these errors were encountered: