From f0a1bdf06c6080bf8a01d2a423aa824d91cdaf3d Mon Sep 17 00:00:00 2001 From: Yuki Okushi <huyuumi.dev@gmail.com> Date: Sat, 17 Oct 2020 11:48:20 +0900 Subject: [PATCH] Exclude redox from cmsg test --- libc-test/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libc-test/build.rs b/libc-test/build.rs index 913932cf..a696a1b5 100755 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -8,7 +8,7 @@ use std::env; fn do_cc() { let target = env::var("TARGET").unwrap(); if cfg!(unix) { - let exclude = ["wasi"]; + let exclude = ["redox", "wasi"]; if !exclude.iter().any(|x| target.contains(x)) { let mut cmsg = cc::Build::new(); @@ -564,7 +564,6 @@ fn test_redox(target: &str) { "sys/un.h", "sys/utsname.h", "sys/wait.h", - "syslog.h", "termios.h", "time.h", "unistd.h", -- GitLab