diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 05e1e24c..6a2d3c30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: # TODO: add the following targets, currently broken. # "x86_64-fuchsia" # "x86_64-unknown-redox" - target: ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-sun-solaris", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd"] + target: ["aarch64-apple-ios", "aarch64-linux-android", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-sun-solaris", "x86_64-unknown-freebsd", "x86_64-unknown-illumos", "x86_64-unknown-linux-gnu", "x86_64-unknown-netbsd"] steps: - uses: actions/checkout@master - name: Install Rust diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 1254a8e2..d3d3a679 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -95,6 +95,7 @@ pub(crate) use libc::{ target_os = "android", target_os = "freebsd", target_os = "fuchsia", + target_os = "illumos", target_os = "linux", target_os = "netbsd", target_vendor = "apple",