Skip to content

Commit 5c80ca2

Browse files
committed
Remove CloudABI test function on libc-test
This isn't used anymore.
1 parent e6a2fd5 commit 5c80ca2

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

libc-test/build.rs

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ fn do_ctest() {
2929
match &env::var("TARGET").unwrap() {
3030
t if t.contains("android") => return test_android(t),
3131
t if t.contains("apple") => return test_apple(t),
32-
t if t.contains("cloudabi") => return test_cloudabi(t),
3332
t if t.contains("dragonfly") => return test_dragonflybsd(t),
3433
t if t.contains("emscripten") => return test_emscripten(t),
3534
t if t.contains("freebsd") => return test_freebsd(t),
@@ -590,77 +589,6 @@ fn test_redox(target: &str) {
590589
cfg.generate("../src/lib.rs", "main.rs");
591590
}
592591

593-
fn test_cloudabi(target: &str) {
594-
assert!(target.contains("cloudabi"));
595-
596-
let mut cfg = ctest_cfg();
597-
cfg.flag("-Wno-deprecated-declarations");
598-
599-
headers! {
600-
cfg:
601-
"execinfo.h",
602-
"glob.h",
603-
"ifaddrs.h",
604-
"langinfo.h",
605-
"sys/ptrace.h",
606-
"sys/quota.h",
607-
"sys/sysctl.h",
608-
"utmpx.h",
609-
"ctype.h",
610-
"dirent.h",
611-
"dlfcn.h",
612-
"errno.h",
613-
"fcntl.h",
614-
"grp.h",
615-
"limits.h",
616-
"locale.h",
617-
"net/if.h",
618-
"net/if_arp.h",
619-
"net/route.h",
620-
"netdb.h",
621-
"netinet/in.h",
622-
"netinet/ip.h",
623-
"netinet/tcp.h",
624-
"netinet/udp.h",
625-
"poll.h",
626-
"pthread.h",
627-
"pwd.h",
628-
"resolv.h",
629-
"sched.h",
630-
"semaphore.h",
631-
"signal.h",
632-
"stddef.h",
633-
"stdint.h",
634-
"stdio.h",
635-
"stdlib.h",
636-
"string.h",
637-
"strings.h",
638-
"sys/file.h",
639-
"sys/ioctl.h",
640-
"sys/mman.h",
641-
"sys/mount.h",
642-
"sys/resource.h",
643-
"sys/socket.h",
644-
"sys/stat.h",
645-
"sys/statvfs.h",
646-
"sys/time.h",
647-
"sys/times.h",
648-
"sys/types.h",
649-
"sys/uio.h",
650-
"sys/un.h",
651-
"sys/utsname.h",
652-
"sys/wait.h",
653-
"syslog.h",
654-
"termios.h",
655-
"time.h",
656-
"unistd.h",
657-
"utime.h",
658-
"wchar.h",
659-
}
660-
661-
cfg.generate("../src/lib.rs", "main.rs");
662-
}
663-
664592
fn test_solarish(target: &str) {
665593
let is_solaris = target.contains("solaris");
666594
let is_illumos = target.contains("illumos");

0 commit comments

Comments
 (0)