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 d50630d commit 7c4361dCopy full SHA for 7c4361d
src/bootstrap/src/core/build_steps/gcc.rs
@@ -216,6 +216,15 @@ pub fn get_gcc_build_status(builder: &Builder<'_>, target_pair: GccTargetPair) -
216
"libgccjit.so for `{target_pair}` was not found at `{}`",
217
path.display()
218
));
219
+
220
+ if target_pair.host != target_pair.target || target_pair.host != builder.host_target {
221
+ eprintln!(
222
+ "info: libgccjit.so for `{target_pair}` was not found at `{}`",
223
+ path.display()
224
+ );
225
+ eprintln!("error: we do not support downloading or building a GCC cross-compiler");
226
+ std::process::exit(1);
227
+ }
228
}
229
230
0 commit comments