Skip to content
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

fix: Downgrade libc #422

Closed

Conversation

ratankaliani
Copy link

@ratankaliani ratankaliani commented May 17, 2024

Overview

The most recent release of getrandom is dependent on libc ^0.2.154, which has been yanked from crates.io: https://crates.io/crates/libc/0.2.154. This PR downgrades libc to a version that is still on crates.io, 0.2.153.

Projects that are dependent on getrandom need to downgrade to a previous version of getrandom (ex. v0.2.14) to avoid seeing the following:

Updating crates.io index
error: failed to select a version for the requirement `libc = "^0.2.154"`
candidate versions found which didn't match: 0.2.153, 0.2.152, 0.2.151, ...
location searched: crates.io index
required by package `getrandom v0.2.15`
    ... which satisfies dependency `getrandom = "^0.2.15"` of package ...`
    ... which satisfies git dependency ... of package ... 
    (/home/runner/_work/...)`
perhaps a crate was updated and forgotten to be re-vendored

@ratankaliani ratankaliani changed the title fix: libc 0.2.154 yanked fix: Downgrade libc May 17, 2024
@newpavlov newpavlov closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants