Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
17ba73c
Document `adt_const_params` feature in Unstable Book
Shadlock0133 Mar 2, 2023
2624e91
Soft-destabilize `RustcEncodable`/`RustcDecodable`
jhpratt Sep 21, 2023
fbf21c5
Remove RustcEncodable/Decodable from 2024 prelude
jhpratt Sep 21, 2023
9154757
Implement `-L builtin:$path`
Veykril Feb 29, 2024
9ae4e3e
Make use of sysroot in librustdoc/config.rs for builtin:$path
Veykril Mar 4, 2024
2fae4ee
Make sysroot mandatory for rustdoc
Veykril Mar 6, 2024
3d65c92
Replace implementation with @RUSTC_BUILTIN prefix substitution var
Veykril Mar 6, 2024
69af113
enable cargo miri test doctests
onur-ozkan Mar 25, 2024
1ad3954
std library unix/thread.rs: fix NetBSD code for ILP32 CPUs.
he32 Mar 25, 2024
bff13e9
`UnixStream`: override `read_buf`
a1phyr Mar 26, 2024
ff6d9f7
Unix: Support more platforms with `preadv` and `pwritev`
a1phyr Mar 22, 2024
7b4e507
unix fs: Make hurd and horizon using explicit new rather than From
sthibaul Mar 25, 2024
22bc5c5
In ConstructCoroutineInClosureShim, pass receiver by ref, not pointer
compiler-errors Mar 25, 2024
2cfd532
Change `f16` and `f128` clippy stubs to be nonpanicking
tgross35 Mar 26, 2024
3878b37
Rename
Nadrieril Mar 2, 2024
14f186c
Store `Place` instead of `PlaceBuilder` in `MatchPair`
Nadrieril Mar 2, 2024
7764e8a
Port backtrace dylib-dep test to a ui test
jieyouxu Mar 23, 2024
bf7a745
Inherited -> TypeckRootCtxt
compiler-errors Mar 26, 2024
d7df149
Rollup merge of #108675 - Shadlock0133:adt_const_params, r=compiler-e…
workingjubilee Mar 26, 2024
775923f
Rollup merge of #116016 - jhpratt:kill-rustc-serialize, r=ehuss
workingjubilee Mar 26, 2024
2e9c73b
Rollup merge of #121843 - ferrocene:builtin-path, r=petrochenkov
workingjubilee Mar 26, 2024
4bc6445
Rollup merge of #122439 - Nadrieril:store-built-place, r=compiler-errors
workingjubilee Mar 26, 2024
1104d3b
Rollup merge of #122880 - a1phyr:preadv_more_platform, r=workingjubilee
workingjubilee Mar 26, 2024
4cd34b1
Rollup merge of #122958 - jieyouxu:port-backtrace-dylib-dep, r=workin…
workingjubilee Mar 26, 2024
c361983
Rollup merge of #123038 - he32:netbsd-ilp32-fix, r=workingjubilee
workingjubilee Mar 26, 2024
086ec4f
Rollup merge of #123049 - compiler-errors:coroutine-closure-rcvr, r=o…
workingjubilee Mar 26, 2024
e9ea30f
Rollup merge of #123055 - onur-ozkan:miri-rustdoc, r=RalfJung
workingjubilee Mar 26, 2024
c9393df
Rollup merge of #123057 - sthibaul:systemtime, r=jhpratt
workingjubilee Mar 26, 2024
9bebf31
Rollup merge of #123084 - a1phyr:unixstream_read_buf, r=workingjubilee
workingjubilee Mar 26, 2024
2e010f6
Rollup merge of #123087 - tgross35:clippy-f16-f128-check-stubs, r=bly…
workingjubilee Mar 26, 2024
b24c54e
Rollup merge of #123103 - compiler-errors:inherited-is-a-weird-name, …
workingjubilee Mar 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ pub fn available_parallelism() -> io::Result<NonZero<usize>> {
if !set.is_null() {
let mut count: usize = 0;
if libc::pthread_getaffinity_np(libc::pthread_self(), libc::_cpuset_size(set), set) == 0 {
for i in 0..u64::MAX {
for i in 0..libc::cpuid_t::MAX {
match libc::_cpuset_isset(i, set) {
-1 => break,
0 => continue,
Expand Down