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 67d45f4 commit 3abe5f9Copy full SHA for 3abe5f9
src/bootstrap/src/core/builder/tests.rs
@@ -975,6 +975,21 @@ mod snapshot {
975
.render_steps(), @"[build] rustc 0 <host> -> cargo 1 <host>");
976
}
977
978
+ #[test]
979
+ fn build_cargo_cross() {
980
+ let ctx = TestCtx::new();
981
+ insta::assert_snapshot!(
982
+ ctx.config("build")
983
+ .paths(&["cargo"])
984
+ .hosts(&[TEST_TRIPLE_1])
985
+ .render_steps(), @r"
986
+ [build] llvm <host>
987
+ [build] rustc 0 <host> -> rustc 1 <host>
988
+ [build] rustc 1 <host> -> std 1 <target1>
989
+ [build] rustc 1 <host> -> cargo 2 <target1>
990
+ ");
991
+ }
992
+
993
#[test]
994
fn dist_default_stage() {
995
let ctx = TestCtx::new();
0 commit comments