Update libc to v0.2.184#155057
Conversation
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the libc crate dependency used by std to a newer patch release in order to pick up WASI _SC_* sysconf constants needed for thread::available_parallelism on WASI targets (per the referenced regression/fix context).
Changes:
- Bump
libcfrom0.2.183to0.2.184forstd(non-MSVC Windows excluded as before). - Update
library/Cargo.lockto reflect the newlibcversion and checksum.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
library/std/Cargo.toml |
Updates the libc dependency version used by std. |
library/Cargo.lock |
Locks libc to 0.2.184 with the corresponding checksum. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@bors r+ rollup=iffy |
… r=Mark-Simulacrum Update libc to v0.2.184 This includes the WASI _SC_* sysconf constants needed for `thread::available_parallelism` on WASI targets (rust-lang#153604).
…uwer Rollup of 6 pull requests Successful merges: - #155057 (Update libc to v0.2.184) - #154967 (Test(lib/sync): Fix `test_rwlock_max_readers` for x86 Win7) - #154994 (don't leak internal temporaries from `dbg!`) - #155130 (Stabilize feature `isolate_most_least_significant_one`) - #154925 (Make Box/Rc/Arc::into_array allocator-aware (and add doctest)) - #155063 (`ty::Alias`: replace `def_id: did` with `def_id`)
…uwer Rollup of 6 pull requests Successful merges: - #155057 (Update libc to v0.2.184) - #154967 (Test(lib/sync): Fix `test_rwlock_max_readers` for x86 Win7) - #154994 (don't leak internal temporaries from `dbg!`) - #155130 (Stabilize feature `isolate_most_least_significant_one`) - #154925 (Make Box/Rc/Arc::into_array allocator-aware (and add doctest)) - #155063 (`ty::Alias`: replace `def_id: did` with `def_id`)
…lelism-fix, r=alexcrichton Fix thread::available_parallelism on WASI targets with threads The refactoring in ba46286 ("std: Use more unix.rs code on WASI targets") moved WASI from its own thread module into the shared unix.rs module. However, it did not carry over the available_parallelism() implementation for WASI with threads, causing it to fall through to the unsupported catch-all. This silently regressed the support originally added in f0b7008. Fix this by adding WASI to the standard UNIX cfg_select branch. Depends on rust-lang#155057 (Update libc to v0.2.184).
…lelism-fix, r=alexcrichton Fix thread::available_parallelism on WASI targets with threads The refactoring in ba46286 ("std: Use more unix.rs code on WASI targets") moved WASI from its own thread module into the shared unix.rs module. However, it did not carry over the available_parallelism() implementation for WASI with threads, causing it to fall through to the unsupported catch-all. This silently regressed the support originally added in f0b7008. Fix this by adding WASI to the standard UNIX cfg_select branch. Depends on rust-lang#155057 (Update libc to v0.2.184).
Rollup merge of #153604 - rust-wasi-web:wasi-available-parallelism-fix, r=alexcrichton Fix thread::available_parallelism on WASI targets with threads The refactoring in ba46286 ("std: Use more unix.rs code on WASI targets") moved WASI from its own thread module into the shared unix.rs module. However, it did not carry over the available_parallelism() implementation for WASI with threads, causing it to fall through to the unsupported catch-all. This silently regressed the support originally added in f0b7008. Fix this by adding WASI to the standard UNIX cfg_select branch. Depends on #155057 (Update libc to v0.2.184).
This includes the WASI SC* sysconf constants needed for
thread::available_parallelismon WASI targets (#153604).