Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2beccc4

Browse files
committed
Adjust some run-make tests on cross-compile
1 parent 49be6f3 commit 2beccc4

File tree

63 files changed

+143
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+143
-79
lines changed

‎tests/run-make/allow-warnings-cmdline-stability/rmake.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ needs-target-std
1+
//@ ignore-cross-compile
22
// Test that `-Awarnings` suppresses warnings for unstable APIs.
33

44
use run_make_support::rustc;

‎tests/run-make/crate-circular-deps-link/rmake.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//@ needs-target-std
2-
//
1+
//@ ignore-cross-compile
2+
33
// Test that previously triggered a linker failure with root cause
44
// similar to one found in the issue #69368.
55
//

‎tests/run-make/doctests-merge/rmake.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ needs-target-std
1+
//@ ignore-cross-compile (needs to run doctests)
2+
23
use std::path::Path;
34

45
use run_make_support::{cwd, diff, rustc, rustdoc};

‎tests/run-make/doctests-runtool/rmake.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//@ needs-target-std
2-
//
1+
//@ ignore-cross-compile (needs to run host tool binary)
2+
33
// Tests behavior of rustdoc `--test-runtool`.
44

55
use std::path::PathBuf;

‎tests/run-make/embed-metadata/rmake.rs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
//@ needs-target-std
2-
//
1+
//@ ignore-cross-compile
2+
//@ needs-crate-type: dylib
3+
34
// Tests the -Zembed-metadata compiler flag.
45
// Tracking issue: https://github.com/rust-lang/rust/issues/139165
56

‎tests/run-make/embed-source-dwarf/rmake.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//@ needs-target-std
22
//@ ignore-windows
33
//@ ignore-apple
4+
//@ ignore-wasm (`object` doesn't handle wasm object files)
5+
//@ ignore-cross-compile
46

57
// This test should be replaced with one in tests/debuginfo once we can easily
68
// tell via GDB or LLDB if debuginfo contains source code. Cheap tricks in LLDB

‎tests/run-make/emit-shared-files/rmake.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// `all-shared` should only emit files that can be shared between crates.
66
// See https://github.com/rust-lang/rust/pull/83478
77

8+
//@ needs-target-std
9+
810
use run_make_support::{has_extension, has_prefix, path, rustdoc, shallow_find_files};
911

1012
fn main() {

‎tests/run-make/emit-stack-sizes/rmake.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
// See https://github.com/rust-lang/rust/pull/51946
88

99
//@ needs-target-std
10-
//@ ignore-windows
11-
//@ ignore-apple
10+
//@ only-elf
1211
// Reason: this feature only works when the output object format is ELF.
1312
// This won't be the case on Windows/OSX - for example, OSX produces a Mach-O binary.
1413

‎tests/run-make/env-dep-info/rmake.rs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
//@ needs-target-std
2-
//
1+
//@ ignore-cross-compile
2+
//@ needs-crate-type: proc-macro
3+
//@ ignore-musl (FIXME: can't find `-lunwind`)
4+
35
// Inside dep-info emit files, #71858 made it so all accessed environment
46
// variables are usefully printed. This test checks that this feature works
57
// as intended by checking if the environment variables used in compilation

‎tests/run-make/exit-code/rmake.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//@ needs-target-std
2-
//
1+
//@ ignore-cross-compile
2+
33
// Test that we exit with the correct exit code for successful / unsuccessful / ICE compilations
44

55
use run_make_support::{rustc, rustdoc};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /