Skip to content

Commit

Permalink
Use poll(2) implementation on AIX
Browse files Browse the repository at this point in the history
  • Loading branch information
mustartt authored Oct 3, 2024
1 parent d8d68ac commit cbb53c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ jobs:
- armv7-sony-vita-newlibeabihf
- i686-unknown-linux-gnu
- i686-unknown-hurd-gnu
# - powerpc64-ibm-aix Enable CI runs once aix has full stdlib upstreamed
- riscv32imc-esp-espidf
- sparcv9-sun-solaris
- wasm32-wasi
Expand Down
3 changes: 3 additions & 0 deletions src/poll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/sys/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cbb53c7

Please sign in to comment.