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