diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4449a..7fd9caa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,10 +128,9 @@ jobs: # - name: HermitOS # if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu') # run: cargo check -Z build-std --target x86_64-unknown-hermit - # TODO: - # - name: Check haiku - # if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu') - # run: cargo check -Z build-std --target x86_64-unknown-haiku + - name: Check haiku + if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu') + run: cargo check -Z build-std --target x86_64-unknown-haiku - name: Check vita if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu') run: cargo check -Z build-std --target armv7-sony-vita-newlibeabihf diff --git a/src/lib.rs b/src/lib.rs index fd75258..140ce30 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2104,6 +2104,7 @@ fn connect( target_os = "aix", target_vendor = "apple", target_os = "espidf", + target_os = "haiku", windows, )))] let flags = rn::SocketFlags::CLOEXEC; @@ -2111,6 +2112,7 @@ fn connect( target_os = "aix", target_vendor = "apple", target_os = "espidf", + target_os = "haiku", windows, ))] let flags = rn::SocketFlags::empty();