Skip to content

Commit 10e9bc9

Browse files
committed
Fix doc_target test which no longer works on stable/beta.
1 parent 9826222 commit 10e9bc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testsuite/doc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,10 @@ fn doc_same_name() {
584584

585585
#[cargo_test]
586586
fn doc_target() {
587+
if !is_nightly() {
588+
// no_core, lang_items requires nightly.
589+
return;
590+
}
587591
const TARGET: &str = "arm-unknown-linux-gnueabihf";
588592

589593
let p = project()

0 commit comments

Comments
 (0)