chore: bump libc to 0.2.180#2724
Merged
SteveLauC merged 5 commits intonix-rust:masterfrom Jan 22, 2026
Merged
Conversation
e7b885b to
db44001
Compare
This was referenced Jan 13, 2026
Contributor
Author
|
I've replicated the Should we disable the build in CI for now? |
It's required to expose missing definitions used by coreutils
As in OpenBSD this was removed upstream and from libc: - NetBSD/src@091e152 - rust-lang/libc@35d5592
The type changed in libc, so we can just consistently used the same type
d3e5634 to
4deef75
Compare
libc does not expose them anymore for this libc implementation as they were not defined
Contributor
Author
|
Hey @SteveLauC, this should be ready now! :) |
tisonkun
reviewed
Feb 14, 2026
|
|
||
| [dependencies] | ||
| libc = { version = "=0.2.175", features = ["extra_traits"] } | ||
| libc = { version = "=0.2.180", features = ["extra_traits"] } |
Contributor
There was a problem hiding this comment.
Why can't we use version = "0.2.180" but pin to an exact one?
If libc follows semver, this should be fine. But libc may remove variables even if the version doesn't increase a breaking one?
Member
There was a problem hiding this comment.
Why can't we use version = "0.2.180" but pin to an exact one?
See #2737 (comment)
This will be unpinned by #2744
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It's required to expose missing definitions used by coreutils
What does this PR do
Checklist:
CONTRIBUTING.md