ignore tests broken while cross compiling

This commit is contained in:
Pietro Albini
2025-03-24 11:33:56 +01:00
parent 5fe1e47f80
commit f5659f28f8
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
//@ ignore-cross-compile attempts to run the doctests
// Check that valid binaries are persisted by running them, regardless of whether the // Check that valid binaries are persisted by running them, regardless of whether the
// --run or --no-run option is used. // --run or --no-run option is used.

View File

@@ -3,6 +3,8 @@
// warnings when used, and that binaries produced by it can also be successfully executed. // warnings when used, and that binaries produced by it can also be successfully executed.
// See https://github.com/rust-lang/rust/pull/23238 // See https://github.com/rust-lang/rust/pull/23238
//@ ignore-cross-compile target-cpu=native doesn't work well when cross compiling
use run_make_support::{run, rustc}; use run_make_support::{run, rustc};
fn main() { fn main() {