rust icon indicating copy to clipboard operation
rust copied to clipboard

Bump libc to 0.2.161

Open thesummer opened this issue 1 year ago • 8 comments

Bumps libc to the latest release version 0.2.161 which

  • includes libc support for the tier 3 RTEMS target
  • fixes segfaults on 32-bit FreeBSD targets
  • gets musl's posix_spawn_file_actions_addchdir_np for some spawn opts
  • Fixes https://github.com/rust-lang/rust/pull/130677
  • Enables https://github.com/rust-lang/rust/pull/131851

thesummer avatar Oct 17 '24 09:10 thesummer

r? @ibraheemdev

rustbot has assigned @ibraheemdev. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Oct 17 '24 09:10 rustbot

These commits modify the library/Cargo.lock file. Unintentional changes to library/Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged. Otherwise, you can ignore this comment.

rustbot avatar Oct 17 '24 09:10 rustbot

FYI this will need to be to libc 0.2.161 to pull in the fix for https://github.com/rust-lang/libc/pull/3983.

sunshowers avatar Oct 17 '24 19:10 sunshowers

I made this change in https://github.com/rust-lang/rust/pull/131851 as well since I needed it too. Happy to rebase if this lands first.

sunshowers avatar Oct 17 '24 20:10 sunshowers

Thanks, updated as well. Let's see who gets approved first 😁

thesummer avatar Oct 17 '24 21:10 thesummer

There are now three PRs for this bump: #131853

workingjubilee avatar Oct 17 '24 21:10 workingjubilee

I am picking this as winner so that we do not get a fourth.

@bors r+ rollup

workingjubilee avatar Oct 17 '24 21:10 workingjubilee

:pushpin: Commit a09c54d4d34627444d4d1416930c11ffeebd0d2e has been approved by workingjubilee

It is now in the queue for this repository.

bors avatar Oct 17 '24 21:10 bors

Beta backport accepted but stable backport rejected: libc bumps tend to have a lot of unrelated changes and this has a risk of breaking other targets.

Amanieu avatar Oct 23 '24 16:10 Amanieu