about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--build_system/mod.rs11
1 files changed, 1 insertions, 10 deletions
diff --git a/build_system/mod.rs b/build_system/mod.rs
index 03c8f58c724..b25270d832c 100644
--- a/build_system/mod.rs
+++ b/build_system/mod.rs
@@ -122,16 +122,7 @@ pub fn main() {
         host_triple.clone()
     };
 
-    if target_triple.ends_with("-msvc") {
-        eprintln!("The MSVC toolchain is not yet supported by rustc_codegen_cranelift.");
-        eprintln!("Switch to the MinGW toolchain for Windows support.");
-        eprintln!("Hint: You can use `rustup set default-host x86_64-pc-windows-gnu` to");
-        eprintln!("set the global default target to MinGW");
-        process::exit(1);
-    }
-
-    let cg_clif_dylib =
-        build_backend::build_backend(channel, &host_triple, use_unstable_features);
+    let cg_clif_dylib = build_backend::build_backend(channel, &host_triple, use_unstable_features);
     match command {
         Command::Test => {
             tests::run_tests(