Skip to content

[0.2] Revert "musl: convert inline timespecs to timespec"#4958

Merged
tgross35 merged 1 commit intorust-lang:libc-0.2from
heiher:libc-0.2-revert-55fa65b
Feb 9, 2026
Merged

[0.2] Revert "musl: convert inline timespecs to timespec"#4958
tgross35 merged 1 commit intorust-lang:libc-0.2from
heiher:libc-0.2-revert-55fa65b

Conversation

@heiher
Copy link
Contributor

@heiher heiher commented Feb 4, 2026

Description

This reverts commit 55fa65b, as suggested by #4942 (comment).

Fixes #4939

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@rustbot
Copy link
Collaborator

rustbot commented Feb 4, 2026

⚠️ Warning ⚠️

  • Pull requests are usually filed against the main branch for this repo, but this one is against libc-0.2. Please double check that you specified the right target!

@heiher heiher force-pushed the libc-0.2-revert-55fa65b branch 3 times, most recently from f853386 to 621d9ee Compare February 4, 2026 07:09
@heiher heiher changed the title Revert "musl: convert inline timespecs to timespec" [0.2] Revert "musl: convert inline timespecs to timespec" Feb 4, 2026
@JohnTitor JohnTitor requested a review from tgross35 February 4, 2026 07:51
@tgross35 tgross35 self-assigned this Feb 5, 2026
Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@tgross35 tgross35 enabled auto-merge February 9, 2026 12:59
@rustbot
Copy link
Collaborator

rustbot commented Feb 9, 2026

This PR was rebased onto a different libc-0.2 commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@tgross35 tgross35 force-pushed the libc-0.2-revert-55fa65b branch from 20b52e9 to d3ddb59 Compare February 9, 2026 13:13
@tgross35 tgross35 added this pull request to the merge queue Feb 9, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 9, 2026
@tgross35 tgross35 added this pull request to the merge queue Feb 9, 2026
Merged via the queue into rust-lang:libc-0.2 with commit 08f7df7 Feb 9, 2026
50 checks passed
@heiher heiher deleted the libc-0.2-revert-55fa65b branch February 9, 2026 14:17
weihanglo added a commit to weihanglo/cargo that referenced this pull request Feb 11, 2026
Right after git-index changed accordingly via GitoxideLabs/gitoxide#2428
for the loongarch timestamp API issue,
libc reverted it back rust-lang/libc#4958 and released 0.2.181

We pin to libc@0.2.180 for now. And when gitoxide reverts,
we can safely upgrade them

# Do not modify or remove the line above.
# Everything below it will be ignored.
#
# On branch libc
# Changes to be committed:
#	modified:   Cargo.lock
#
diff --git a/Cargo.lock b/Cargo.lock
index 668d2a2..204d94e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2769,9 +2769,9 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"

 [[package]]
 name = "libc"
-version = "0.2.181"
+version = "0.2.180"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "459427e2af2b9c839b132acb702a1c654d95e10f8c326bfc2ad11310e458b1c5"
+checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"

 [[package]]
 name = "libgit2-sys"
weihanglo added a commit to weihanglo/cargo that referenced this pull request Feb 11, 2026
Right after git-index changed accordingly via GitoxideLabs/gitoxide#2428
for the loongarch timestamp API issue,
libc reverted it back rust-lang/libc#4958 and released 0.2.181

We pin to libc@0.2.180 for now. And when gitoxide reverts,
we can safely upgrade them
github-merge-queue bot pushed a commit to rust-lang/cargo that referenced this pull request Feb 11, 2026
Right after git-index changed accordingly via GitoxideLabs/gitoxide#2428
for the loongarch timestamp API issue,
libc reverted it back rust-lang/libc#4958 and released 0.2.181

We pin to libc@0.2.180 for now. And when gitoxide reverts, we can safely
upgrade them

Previous relevnat PRs:

* #16615
* #16613
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.

3 participants