Add illumos triple

Co-Authored-By: Jason King <jason.brian.king@gmail.com>
Co-Authored-By: Joshua M. Clulow <jmc@oxide.computer>
This commit is contained in:
Patrick Mooney
2020-04-13 23:37:22 +00:00
parent edc02580e4
commit b77aefb76e
27 changed files with 362 additions and 22 deletions

View File

@@ -33,6 +33,7 @@ impl Drop for Handler {
target_os = "dragonfly",
target_os = "freebsd",
target_os = "solaris",
target_os = "illumos",
all(target_os = "netbsd", not(target_vendor = "rumprun")),
target_os = "openbsd"
))]
@@ -162,7 +163,8 @@ mod imp {
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd",
target_os = "solaris"
target_os = "solaris",
target_os = "illumos"
))]
unsafe fn get_stack() -> libc::stack_t {
libc::stack_t { ss_sp: get_stackp(), ss_flags: 0, ss_size: SIGSTKSZ }
@@ -214,6 +216,7 @@ mod imp {
target_os = "dragonfly",
target_os = "freebsd",
target_os = "solaris",
target_os = "illumos",
all(target_os = "netbsd", not(target_vendor = "rumprun")),
target_os = "openbsd"
)))]