diff options
| author | Afonso Bordado <afonsobordado@az8.co> | 2022-09-26 09:45:00 +0100 |
|---|---|---|
| committer | Afonso Bordado <afonsobordado@az8.co> | 2022-09-26 19:21:26 +0100 |
| commit | ba56e8f313895eefc3e0f7de38c9cde3145b0c04 (patch) | |
| tree | 3cbee70121228612744729565bdcdecfa94d4e2b | |
| parent | 88522158b2a7462418b89ddd7424502ee60535b4 (diff) | |
| download | rust-ba56e8f313895eefc3e0f7de38c9cde3145b0c04.tar.gz rust-ba56e8f313895eefc3e0f7de38c9cde3145b0c04.zip | |
Remove MSVC Check
| -rw-r--r-- | build_system/mod.rs | 11 |
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( |
