Skip to content

Commit afd7e63

Browse files
committed
Don't provide two ways to gate on *-windows-msvc
1 parent 374cd8a commit afd7e63

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/tools/run-make-support/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ pub use crate::string::{
8383
};
8484
// Helpers for checking target information.
8585
pub use crate::targets::{
86-
apple_os, is_aix, is_darwin, is_msvc, is_win7, is_windows, is_windows_gnu, is_windows_msvc,
86+
apple_os, is_aix, is_darwin, is_msvc, is_win7, is_windows, is_windows_gnu,
8787
llvm_components_contain, target, uname,
8888
};

src/tools/run-make-support/src/targets.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ pub fn is_windows_gnu() -> bool {
2828
target().ends_with("windows-gnu")
2929
}
3030

31-
/// Check if target is windows-msvc.
32-
#[must_use]
33-
pub fn is_windows_msvc() -> bool {
34-
target().ends_with("windows-msvc")
35-
}
36-
3731
/// Check if target is win7.
3832
#[must_use]
3933
pub fn is_win7() -> bool {

0 commit comments

Comments
 (0)