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

Crate libc 0.2.154 is yanked #456

Closed
acgetchell opened this issue Jun 5, 2024 · 6 comments
Closed

Crate libc 0.2.154 is yanked #456

acgetchell opened this issue Jun 5, 2024 · 6 comments

Comments

@acgetchell
Copy link

This was flagged in actions-rust-lang/audit@v1.

@josephlr
Copy link
Member

josephlr commented Jun 5, 2024

Duplicate of #423

@josephlr josephlr marked this as a duplicate of #423 Jun 5, 2024
@josephlr josephlr closed this as completed Jun 5, 2024
@josephlr
Copy link
Member

josephlr commented Jun 5, 2024

Note, a later version of libc has been released, so is there an issue here?

@acgetchell
Copy link
Author

acgetchell commented Jun 5, 2024

uuid v1.8.0 uses this crate, so presumably once they update this will be resolved.

@josephlr
Copy link
Member

josephlr commented Jun 5, 2024

@acgetchell you should be able to use the correct version of libc without any crates needing to do anything, as 0.2.155 is compatible with 0.2.154

@acgetchell
Copy link
Author

Ah, thanks. I'm not a direct consumer, though. Unless there's something I haven't understood from the Cargo book, I didn't see a way to specify libc 0.2.155 directly other than mucking around with Cargo.lock, which seems to be disfavored.

@josephlr
Copy link
Member

josephlr commented Jun 5, 2024

@acgetchell if the problematic Cargo.lock file is in your project, you can either delete and regenerate it or call cargo update to bump your dependencies. This page explains how all that works: https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

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

No branches or pull requests

2 participants