We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc67726 commit d571910Copy full SHA for d571910
y.rs
@@ -127,6 +127,14 @@ fn main() {
127
host_triple.clone()
128
};
129
130
+ if target_triple.ends_with("-msvc") {
131
+ eprintln!("The MSVC toolchain is not yet supported by rustc_codegen_cranelift.");
132
+ eprintln!("Switch to the MinGW toolchain for Windows support.");
133
+ eprintln!("Hint: You can use `rustup set default-host x86_64-pc-windows-gnu` to");
134
+ eprintln!("set the global default target to MinGW");
135
+ process::exit(1);
136
+ }
137
+
138
let cg_clif_dylib = build_backend::build_backend(channel);
139
build_sysroot::build_sysroot(
140
channel,
0 commit comments