Skip to content

Commit 0cbd33d

Browse files
authored
Merge pull request #4520 from Gelbpunkt/musl-CPU_SETSIZE
musl: Clarify reason for CPU_SETSIZE value
2 parents 662ad52 + 046bed5 commit 0cbd33d

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/musl

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/musl/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4;
687687
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;
688688
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: usize = 4;
689689

690+
// FIXME(musl): Value is 1024 for all architectures since 1.2.4
690691
#[cfg(not(target_arch = "loongarch64"))]
691692
pub const CPU_SETSIZE: c_int = 128;
692693
#[cfg(target_arch = "loongarch64")]

0 commit comments

Comments
 (0)