diff options
| author | Nicholas Baron <Nicholas.Baron@windriver.com> | 2021-07-20 15:10:33 -0700 |
|---|---|---|
| committer | Nicholas Baron <Nicholas.Baron@windriver.com> | 2021-07-21 10:53:43 -0700 |
| commit | b07d175388403e4d15a86fa4caddfdcef5106d71 (patch) | |
| tree | d7a58b460ddb1a5da91fee2773587d3fa3ff73d0 | |
| parent | 05f2326c0570fdd64f53532a089bbbc361d190e6 (diff) | |
| download | rust-b07d175388403e4d15a86fa4caddfdcef5106d71.tar.gz rust-b07d175388403e4d15a86fa4caddfdcef5106d71.zip | |
Disable glibc tests on vxworks
VxWorks does not provide glibc, but we still need to test rustc on VxWorks.
| -rw-r--r-- | library/std/src/sys/unix/os/tests.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/os/tests.rs b/library/std/src/sys/unix/os/tests.rs index 0e1dcb390a0..c445acf2722 100644 --- a/library/std/src/sys/unix/os/tests.rs +++ b/library/std/src/sys/unix/os/tests.rs @@ -1,12 +1,14 @@ use super::*; #[test] +#[cfg(not(target_os = "vxworks"))] fn test_glibc_version() { // This mostly just tests that the weak linkage doesn't panic wildly... glibc_version(); } #[test] +#[cfg(not(target_os = "vxworks"))] fn test_parse_glibc_version() { let cases = [ ("0.0", Some((0, 0))), |
