mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #144668 - daltenty:daltenty/runmake-llvm-components, r=jieyouxu
[test][run-make] add needs-llvm-components Add some constraints to run-make tests that require specific target support and will fail without them.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
//@ ignore-cross-compile
|
||||
// Reason: the compiled binary is executed
|
||||
//@ needs-llvm-components: x86
|
||||
|
||||
use run_make_support::{bare_rustc, build_native_dynamic_lib, build_native_static_lib, run, rustc};
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// now replaced by a clearer normal error message. This test checks that this aforementioned
|
||||
// error message is used.
|
||||
// See https://github.com/rust-lang/rust/issues/10814
|
||||
//@ needs-llvm-components: x86
|
||||
|
||||
use run_make_support::rustc;
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// Per https://github.com/rust-lang/compiler-team/issues/422,
|
||||
// we should be trying to move these targets to dynamically link
|
||||
// musl libc by default.
|
||||
//@ needs-llvm-components: aarch64 arm mips powerpc riscv systemz x86
|
||||
static LEGACY_STATIC_LINKING_TARGETS: &[&'static str] = &[
|
||||
"aarch64-unknown-linux-musl",
|
||||
"arm-unknown-linux-musleabi",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// Test that rustdoc will properly canonicalize the target spec json path just like rustc.
|
||||
//@ needs-llvm-components: x86
|
||||
|
||||
use run_make_support::{cwd, rustc, rustdoc};
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
// with the target flag's bundle of new features to check that compilation either succeeds while
|
||||
// using them correctly, or fails with the right error message when using them improperly.
|
||||
// See https://github.com/rust-lang/rust/pull/16156
|
||||
//@ needs-llvm-components: x86
|
||||
|
||||
use run_make_support::{diff, rfs, rustc};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user