Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ba56e8f

Browse files
committed
Remove MSVC Check
1 parent 8852215 commit ba56e8f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

build_system/mod.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,7 @@ pub fn main() {
122122
host_triple.clone()
123123
};
124124

125-
if target_triple.ends_with("-msvc") {
126-
eprintln!("The MSVC toolchain is not yet supported by rustc_codegen_cranelift.");
127-
eprintln!("Switch to the MinGW toolchain for Windows support.");
128-
eprintln!("Hint: You can use `rustup set default-host x86_64-pc-windows-gnu` to");
129-
eprintln!("set the global default target to MinGW");
130-
process::exit(1);
131-
}
132-
133-
let cg_clif_dylib =
134-
build_backend::build_backend(channel, &host_triple, use_unstable_features);
125+
let cg_clif_dylib = build_backend::build_backend(channel, &host_triple, use_unstable_features);
135126
match command {
136127
Command::Test => {
137128
tests::run_tests(

0 commit comments

Comments
 (0)