Skip to content

Commit 528472e

Browse files
committed
Replace ignore-android with ignore-cross-compile in rustdoc tests
The problem is that rustdoc searches for external crates using the host triple, not the target triple. It's actually unclear to me whether this is correct behavior or not, but it is necessary to get cross-compiled tests working.
1 parent 4b05cf1 commit 528472e

19 files changed

+19
-19
lines changed

‎src/test/rustdoc/default-impl.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:rustdoc-default-impl.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate rustdoc_default_impl as foo;
1515

‎src/test/rustdoc/extern-default-method.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:rustdoc-extern-default-method.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate rustdoc_extern_default_method as ext;
1515

‎src/test/rustdoc/extern-method.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:rustdoc-extern-method.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
#![feature(unboxed_closures)]
1515

‎src/test/rustdoc/ffi.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:rustdoc-ffi.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate rustdoc_ffi as lib;
1515

‎src/test/rustdoc/inline-default-methods.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:inline-default-methods.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate inline_default_methods;
1515

‎src/test/rustdoc/issue-13698.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue-13698.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate issue_13698;
1515

‎src/test/rustdoc/issue-15318-2.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue-15318.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate issue_15318;
1515

‎src/test/rustdoc/issue-15318.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue-15318.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
#![feature(no_std)]
1515
#![no_std]

‎src/test/rustdoc/issue-17476.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue-17476.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate issue_17476;
1515

‎src/test/rustdoc/issue-19190-3.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
// aux-build:issue-19190-3.rs
12-
// ignore-android
12+
// ignore-cross-compile
1313

1414
extern crate issue_19190_3;
1515

0 commit comments

Comments
 (0)