Skip to content

Commit

Permalink
Disable setdomainname on illumos
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki0iq committed Dec 18, 2024
1 parent 01ad8ac commit 8c3ac99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/libc/system/syscalls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub(crate) fn sethostname(name: &[u8]) -> io::Result<()> {
target_os = "android",
target_os = "emscripten",
target_os = "espidf",
target_os = "illumos",
target_os = "haiku",
target_os = "redox",
target_os = "vita",
Expand Down
1 change: 1 addition & 0 deletions src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ pub fn sethostname(name: &[u8]) -> io::Result<()> {
target_os = "emscripten",
target_os = "espidf",
target_os = "haiku",
target_os = "illumos",
target_os = "redox",
target_os = "vita",
target_os = "wasi"
Expand Down

0 comments on commit 8c3ac99

Please sign in to comment.