Skip to content

Commit 3ce82dd

Browse files
committed
Revert "add exception for msvc"
This reverts commit 0581f92.
1 parent 975eb6b commit 3ce82dd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libc-test/build.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ fn main() {
1111
let x86_64 = target.contains("x86_64");
1212
let x32 = target.ends_with("gnux32");
1313
let windows = target.contains("windows");
14-
let msvc = target.contains("windows-msvc");
1514
let mingw = target.contains("windows-gnu");
1615
let linux = target.contains("unknown-linux");
1716
let android = target.contains("android");
@@ -713,9 +712,6 @@ fn main() {
713712
s if ios && s.starts_with("RTV_") => true,
714713
s if ios && s.starts_with("DLT_") => true,
715714

716-
// these constants do not exist in msvc, but they are still useful
717-
"STDIN_FILENO" | "STDOUT_FILENO" | "STDERR_FILENO" if msvc => true,
718-
719715
_ => false,
720716
}
721717
});

0 commit comments

Comments
 (0)