-
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
Workspace's resolver = "2"
leaks when crate is published, leading to MSRV breaks
#11047
Comments
Potentially related PRs
Supposedly #10911 was only in 1.64.0 which is what we backported #10961 to in #10970.
Could you narrow down which version introduced this by running |
Hm, it looks like this behavior can be observed as far as 1.52, so it looks like the issue is on our side (i.e. we should not use |
Yea, the |
This came up in serde-rs/serde#2603. Moving the conversation here for wider visibility and ensuring the conversation is in one place
|
That is an intriguing idea for us to delay the validation of the resolver value until we need it. In thinking about this, I guess you could say I'm a little less sympathetic to this use case because there isn't really a way to validate the MSRV but it has to be taken upon trust / care and planning (yes, you could do a |
Problem
In RustCrypto we have strict MSRV guarantees. After new versions of several of our hash crates (with MSRV equal to 1.41) have been published, we got reports like this: RustCrypto/hashes#394. Initially we thought that #10954 is responsible for it (I usually use Nightly), but after I re-released the crates in RustCrypto/hashes#399 using the stable toolchain (1.63) the issue was not resolved.
It looks like that for some reason
resolver = "2"
used in the workspace's Cargo.toml gets leaked during publishing of the crates by the stable toolchain.Previously we did not have such issue(UPD: The PR which addedresolver = "2"
was after releases which I thought did not trigger the issue). Is this behavior intentional?The text was updated successfully, but these errors were encountered: