From dac1025fcead31d9e038bc2ba34923352e3314a8 Mon Sep 17 00:00:00 2001 From: Henry Jiang Date: Wed, 2 Oct 2024 10:49:33 -0400 Subject: [PATCH 1/3] AIX use poll(2) Selector by default --- src/poll.rs | 3 +++ src/sys/unix/mod.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/src/poll.rs b/src/poll.rs index b8b5cdf42..a175cdddf 100644 --- a/src/poll.rs +++ b/src/poll.rs @@ -2,6 +2,7 @@ unix, not(mio_unsupported_force_poll_poll), not(any( + target_os = "aix", target_os = "espidf", target_os = "fuchsia", target_os = "haiku", @@ -440,6 +441,7 @@ impl Poll { unix, not(mio_unsupported_force_poll_poll), not(any( + target_os = "aix", target_os = "espidf", target_os = "fuchsia", target_os = "haiku", @@ -740,6 +742,7 @@ impl fmt::Debug for Registry { unix, not(mio_unsupported_force_poll_poll), not(any( + target_os = "aix", target_os = "espidf", target_os = "haiku", target_os = "fuchsia", diff --git a/src/sys/unix/mod.rs b/src/sys/unix/mod.rs index b62238fb1..6c0c8850e 100644 --- a/src/sys/unix/mod.rs +++ b/src/sys/unix/mod.rs @@ -40,6 +40,7 @@ cfg_os_poll! { ), path = "selector/kqueue.rs")] #[cfg_attr(any( mio_unsupported_force_poll_poll, + target_os = "aix", target_os = "espidf", target_os = "fuchsia", target_os = "haiku", From d6121b21e57af3b66949908d70085dbd1f4ed07c Mon Sep 17 00:00:00 2001 From: Henry Jiang Date: Wed, 2 Oct 2024 11:38:15 -0400 Subject: [PATCH 2/3] add ci support for ibm aix --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e5426960..a674dbbab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,6 +152,7 @@ jobs: - armv7-sony-vita-newlibeabihf - i686-unknown-linux-gnu - i686-unknown-hurd-gnu + - powerpc64-ibm-aix - riscv32imc-esp-espidf - sparcv9-sun-solaris - wasm32-wasi From 4d9cab4ab02c1e57a73bde23e3e5a569bbedbee4 Mon Sep 17 00:00:00 2001 From: Henry Jiang Date: Thu, 3 Oct 2024 10:18:03 -0400 Subject: [PATCH 3/3] remove aix from CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a674dbbab..6d6eed82b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,7 +152,7 @@ jobs: - armv7-sony-vita-newlibeabihf - i686-unknown-linux-gnu - i686-unknown-hurd-gnu - - powerpc64-ibm-aix + # - powerpc64-ibm-aix Enable CI runs once aix has full stdlib upstreamed - riscv32imc-esp-espidf - sparcv9-sun-solaris - wasm32-wasi