diff options
| author | Qiu Chaofan <qcf@ecnelises.com> | 2023-04-03 12:33:51 +0800 |
|---|---|---|
| committer | Qiu Chaofan <qcf@ecnelises.com> | 2023-10-09 14:02:57 +0800 |
| commit | 14d29be03c58587ef4bc7b3d2e1e1e29f2be5985 (patch) | |
| tree | d9e11e6ff14f22f1e8a2f0d2fda26a27cd598027 /library/std/src/sys/unix/thread.rs | |
| parent | 1f48cbc3f8dbd393a7e713a0f90d7c6ec72d58ee (diff) | |
| download | rust-14d29be03c58587ef4bc7b3d2e1e1e29f2be5985.tar.gz rust-14d29be03c58587ef4bc7b3d2e1e1e29f2be5985.zip | |
Support AIX in Rust standard library
Diffstat (limited to 'library/std/src/sys/unix/thread.rs')
| -rw-r--r-- | library/std/src/sys/unix/thread.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/thread.rs b/library/std/src/sys/unix/thread.rs index 311ed95022f..e667f34aece 100644 --- a/library/std/src/sys/unix/thread.rs +++ b/library/std/src/sys/unix/thread.rs @@ -218,6 +218,7 @@ impl Thread { target_os = "redox", target_os = "vxworks", target_os = "hurd", + target_os = "aix", ))] pub fn set_name(_name: &CStr) { // Newlib, Emscripten, and VxWorks have no way to set a thread name. @@ -317,6 +318,7 @@ pub fn available_parallelism() -> io::Result<NonZeroUsize> { target_os = "macos", target_os = "solaris", target_os = "illumos", + target_os = "aix", ))] { #[allow(unused_assignments)] #[allow(unused_mut)] |
