Skip to content

Commit

Permalink
Merge branch 'hadfl-illumos_v0.8.13'. See PR #82
Browse files Browse the repository at this point in the history
  • Loading branch information
amodm committed Apr 6, 2024
2 parents 680809e + 3b5fa8d commit b117b62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ hardened = []
disable-wsl = []
wasm-console = ["web-sys/console"]

[target.'cfg(any(target_os = "aix", target_os = "linux", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", target_os = "haiku"))'.dependencies]
[target.'cfg(any(target_os = "aix", target_os = "linux", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", target_os = "haiku", target_os = "illumos"))'.dependencies]
home = "0.5"

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
//! | wasm | ✅ | default only | ✅ |
//! | haiku | ✅ (experimental) | default only | ❌ |
//! | aix | ✅ (experimental) | default only | ❌ |
//! | illumos | ✅ (experimental) | default only | ❌ |
//!
//! ## Consistent Behaviour
//! `webbrowser` defines consistent behaviour on all platforms as follows:
Expand Down Expand Up @@ -52,7 +53,8 @@
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd",
target_os = "haiku"
target_os = "haiku",
target_os = "illumos"
),
path = "unix.rs"
)]
Expand All @@ -68,11 +70,12 @@ mod os;
target_os = "netbsd",
target_os = "openbsd",
target_os = "haiku",
target_os = "illumos",
target_os = "ios",
target_arch = "wasm32"
)))]
compile_error!(
"Only Windows, Mac OS, iOS, Linux, *BSD, Haiku, AIX and Wasm32 are currently supported"
"Only Windows, Mac OS, iOS, Linux, *BSD, Haiku, AIX, illumos and Wasm32 are currently supported"
);

#[cfg(any(
Expand All @@ -82,6 +85,7 @@ compile_error!(
target_os = "netbsd",
target_os = "openbsd",
target_os = "haiku",
target_os = "illumos",
target_os = "windows"
))]
pub(crate) mod common;
Expand Down

0 comments on commit b117b62

Please sign in to comment.