diff options
| author | David Carlier <devnexen@gmail.com> | 2024-05-05 17:06:42 +0100 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2024-05-05 21:08:39 +0000 |
| commit | fb8419838715494e950599e55ffa4dbcf0c88f79 (patch) | |
| tree | c287a3c20afc83aa14b7ace143d20da85a5f7bf3 /src/tools/miri/tests | |
| parent | ba94910afd668d2686cddc980ad19dc978a52f26 (diff) | |
| download | rust-fb8419838715494e950599e55ffa4dbcf0c88f79.tar.gz rust-fb8419838715494e950599e55ffa4dbcf0c88f79.zip | |
solaris support start.
Diffstat (limited to 'src/tools/miri/tests')
| -rw-r--r-- | src/tools/miri/tests/pass-dep/shims/libc-misc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/tests/pass-dep/shims/libc-misc.rs b/src/tools/miri/tests/pass-dep/shims/libc-misc.rs index 9644920c499..32898d49593 100644 --- a/src/tools/miri/tests/pass-dep/shims/libc-misc.rs +++ b/src/tools/miri/tests/pass-dep/shims/libc-misc.rs @@ -136,7 +136,7 @@ fn test_dlsym() { assert_eq!(errno, libc::EBADF); } -#[cfg(not(any(target_os = "macos", target_os = "illumos")))] +#[cfg(not(any(target_os = "macos", target_os = "illumos", target_os = "solaris")))] fn test_reallocarray() { unsafe { let mut p = libc::reallocarray(std::ptr::null_mut(), 4096, 2); @@ -234,7 +234,7 @@ fn main() { test_strcpy(); test_memalign(); - #[cfg(not(any(target_os = "macos", target_os = "illumos")))] + #[cfg(not(any(target_os = "macos", target_os = "illumos", target_os = "solaris")))] test_reallocarray(); #[cfg(target_os = "linux")] |
