Exclude redox from cmsg test

This commit is contained in:
Yuki Okushi 2020-10-17 11:48:20 +09:00
parent ec0eec26c5
commit f0a1bdf06c
1 changed files with 1 additions and 2 deletions

View File

@ -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",