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 566dc98 commit 6c38d38Copy full SHA for 6c38d38
src/bootstrap/src/core/builder/tests.rs
@@ -1579,6 +1579,22 @@ mod snapshot {
1579
[doc] std 1 <host> crates=[alloc,core]
1580
");
1581
}
1582
+
1583
+ #[test]
1584
+ fn doc_library_no_std_target_cross_compile() {
1585
+ let ctx = TestCtx::new();
1586
+ insta::assert_snapshot!(
1587
+ ctx.config("doc")
1588
+ .path("library")
1589
+ .targets(&[TEST_TRIPLE_1])
1590
+ .override_target_no_std(TEST_TRIPLE_1)
1591
+ .render_steps(), @r"
1592
+ [build] llvm <host>
1593
+ [build] rustc 0 <host> -> rustc 1 <host>
1594
+ [build] rustdoc 0 <host>
1595
+ [doc] std 1 <target1> crates=[alloc,core]
1596
+ ");
1597
+ }
1598
1599
1600
struct ExecutedSteps {
0 commit comments