about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAfonso Bordado <afonsobordado@az8.co>2022-09-26 09:45:00 +0100
committerAfonso Bordado <afonsobordado@az8.co>2022-09-26 19:21:26 +0100
commitba56e8f313895eefc3e0f7de38c9cde3145b0c04 (patch)
tree3cbee70121228612744729565bdcdecfa94d4e2b
parent88522158b2a7462418b89ddd7424502ee60535b4 (diff)
downloadrust-ba56e8f313895eefc3e0f7de38c9cde3145b0c04.tar.gz
rust-ba56e8f313895eefc3e0f7de38c9cde3145b0c04.zip
Remove MSVC Check
-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(