diff options
| author | Nikita Baksalyar <nikita.baksalyar@gmail.com> | 2016-01-21 19:30:22 +0300 |
|---|---|---|
| committer | Nikita Baksalyar <nikita.baksalyar@gmail.com> | 2016-01-31 18:57:26 +0300 |
| commit | f189d7a6937c063f9592136a39c836b17c008a93 (patch) | |
| tree | a31b16fa2af96d112a2e470d7a169b460d961efb /src/libstd/sys/common | |
| parent | 9041b930585806b948b4cc68933047ffdc96f6f9 (diff) | |
| download | rust-f189d7a6937c063f9592136a39c836b17c008a93.tar.gz rust-f189d7a6937c063f9592136a39c836b17c008a93.zip | |
Add Illumos support
Diffstat (limited to 'src/libstd/sys/common')
| -rw-r--r-- | src/libstd/sys/common/args.rs | 3 | ||||
| -rw-r--r-- | src/libstd/sys/common/libunwind.rs | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/sys/common/args.rs b/src/libstd/sys/common/args.rs index 4cfddb036e9..f17a6d5a4b8 100644 --- a/src/libstd/sys/common/args.rs +++ b/src/libstd/sys/common/args.rs @@ -38,7 +38,8 @@ pub fn clone() -> Option<Vec<Vec<u8>>> { imp::clone() } target_os = "dragonfly", target_os = "bitrig", target_os = "netbsd", - target_os = "openbsd"))] + target_os = "openbsd", + target_os = "sunos"))] mod imp { use prelude::v1::*; diff --git a/src/libstd/sys/common/libunwind.rs b/src/libstd/sys/common/libunwind.rs index 179a27a2ec8..d699a5be090 100644 --- a/src/libstd/sys/common/libunwind.rs +++ b/src/libstd/sys/common/libunwind.rs @@ -102,6 +102,7 @@ pub type _Unwind_Exception_Cleanup_Fn = #[cfg_attr(any(all(target_os = "linux", not(target_env = "musl")), target_os = "freebsd", + target_os = "sunos", all(target_os = "linux", target_env = "musl", not(target_arch = "x86_64"))), link(name = "gcc_s"))] #[cfg_attr(all(target_os = "linux", target_env = "musl", target_arch = "x86_64", not(test)), |
