rust/tests/run-make
bors 17edacef07 Auto merge of #113026 - jieyouxu:run-make-v2, r=bjorn3
Introduce `run-make` V2 infrastructure, a `run_make_support` library and port over 2 tests as example

## Preface

See [issue #40713: Switch run-make tests from Makefiles to rust](https://github.com/rust-lang/rust/issues/40713) for more context.

## Basic Description of `run-make` V2

`run-make` V2 aims to eliminate the dependency on `make` and `Makefile`s for building `run-make`-style tests. Makefiles are replaced by *recipes* (`rmake.rs`). The current implementation runs `run-make` V2 tests in 3 steps:

1. We build the support library `run_make_support` which the `rmake.rs` recipes depend on as a tool lib.
2. We build the recipe `rmake.rs` and link in the support library.
3. We run the recipe to build and run the tests.

`rmake.rs` is basically a replacement for `Makefile`, and allows running arbitrary Rust code. The support library is built using cargo, and so can depend on external crates if desired.

The infrastructure implemented by this PR is very barebones, and is the minimally required infrastructure needed to build, run and pass the two example `run-make` tests ported over to the new infrastructure.

### Example `run-make` V2 test

```rs
// ignore-tidy-linelength

extern crate run_make_support;

use std::path::PathBuf;

use run_make_support::{aux_build, rustc};

fn main() {
    aux_build()
        .arg("--emit=metadata")
        .arg("stable.rs")
        .run();
    let mut stable_path = PathBuf::from(env!("TMPDIR"));
    stable_path.push("libstable.rmeta");
    let output = rustc()
        .arg("--emit=metadata")
        .arg("--extern")
        .arg(&format!("stable={}", &stable_path.to_string_lossy()))
        .arg("main.rs")
        .run();

    let stderr = String::from_utf8_lossy(&output.stderr);
    let version = include_str!(concat!(env!("S"), "/src/version"));
    let expected_string = format!("stable since {}", version.trim());
    assert!(stderr.contains(&expected_string));
}
```

## Follow Up Work

- [ ] Adjust rustc-dev-guide docs
2024-03-01 16:43:57 +00:00
..
a-b-a-linker-guard Add supporting infrastructure for run-make V2 tests 2024-02-29 16:30:38 +00:00
alloc-no-oom-handling Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
alloc-no-rc Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
alloc-no-sync Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
allocator-shim-circular-deps Fix linker failures when #[global_allocator] is used in a dependency 2023-06-19 17:31:54 +00:00
allow-non-lint-warnings-cmdline ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
allow-warnings-cmdline-stability ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
archive-duplicate-names ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
arguments-non-c-like-enum ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
atomic-lock-free Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
bare-outfile ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
branch-protection-check-IBT Add GNU Property Note 2023-05-05 18:32:20 +00:00
c-dynamic-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-dynamic-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-staticlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-va-list-fn ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-static-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-static-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-unwind-abi-catch-lib-panic Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
c-unwind-abi-catch-panic Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
cat-and-grep-sanity-check Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
cdylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cdylib-dylib-linkage ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cdylib-fewer-symbols ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
codegen-options-parsing ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
comment-section Support .comment section like GCC/Clang (!llvm.ident) 2023-07-21 22:01:50 +02:00
compile-stdin ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
compiler-lookup-paths try to fix test-various 2023-04-02 17:54:24 -04:00
compiler-lookup-paths-2 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
compiler-rt-works-on-mingw Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
compressed-debuginfo Update the minimum external LLVM to 16. 2023-11-21 22:40:16 +01:00
const_fn_mir [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
const-prop-lint Do not rely on exact error code. 2023-04-21 16:14:44 +00:00
core-no-fp-fmt-parse Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
core-no-oom-handling tests: add test for warning-free builds of core under no_global_oom_handling 2023-04-24 01:56:37 +02:00
crate-data-smoke Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
crate-hash-rustc-version Remove support for alias -Z symbol-mangling-version 2023-11-02 18:41:33 +11:00
crate-name-priority ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cross-lang-lto Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
cross-lang-lto-clang Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
cross-lang-lto-pgo-smoketest Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
cross-lang-lto-upstream-rlibs Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
CURRENT_RUSTC_VERSION Add supporting infrastructure for run-make V2 tests 2024-02-29 16:30:38 +00:00
debug-assertions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
debugger-visualizer-dep-info Add/improve tests for debugger_visualizer change detection. 2023-05-17 11:39:11 +02:00
dep-graph move tools.mk to run-make 2023-03-30 07:58:50 -05:00
dep-info Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
dep-info-doesnt-run-much Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
dep-info-spaces Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
doctests-keep-binaries rustdoc: Fix --test-run-directory and relative paths. 2023-06-17 17:20:02 -07:00
doctests-runtool rustdoc: Fix --test-run-directory and relative paths. 2023-06-17 17:20:02 -07:00
dump-ice-to-disk Use YYYY-MM-DDTHH_MM_SS as datetime format for ICE dump files 2023-10-17 17:31:47 +00:00
dump-mono-stats move tools.mk to run-make 2023-03-30 07:58:50 -05:00
duplicate-output-flavors Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
dylib-chain ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
emit ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
emit-named-files move tools.mk to run-make 2023-03-30 07:58:50 -05:00
emit-path-unhashed Fix tests 2023-09-10 15:50:48 +00:00
emit-shared-files move tools.mk to run-make 2023-03-30 07:58:50 -05:00
emit-stack-sizes Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
emit-to-stdout Bless run-make tests 2023-11-24 19:15:52 +01:00
env-dep-info move tools.mk to run-make 2023-03-30 07:58:50 -05:00
error-found-staticlib-instead-crate Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
error-writing-dependencies Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
exit-code On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00
export-executable-symbols [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
extern-diff-internal-name ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-disambiguates ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-fun ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-pathless Verify that all crate sources are in sync 2023-07-19 14:47:05 +00:00
extern-flag-rename-transitive Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
extern-fn-explicit-align extern-fn-explicit-align test: remove unnecessary derives 2023-07-14 16:22:29 -04:00
extern-fn-generic ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-mangle ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-reachable ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-struct-passing-abi i686-windows: pass arguments with requested alignment > 4 indirectly 2023-07-10 19:19:38 -04:00
extern-fn-with-extern-types ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-with-packed-struct ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-with-union ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-multiple-copies ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-multiple-copies2 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-overrides-distribution ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extra-filename-with-temp-outputs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
fmt-write-bloat Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrum 2023-04-03 01:34:05 +00:00
forced-unwind-terminate-pof Add test for unwinding past terminating POF 2023-05-07 12:38:47 +01:00
foreign-double-unwind Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
foreign-exceptions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
foreign-rust-exceptions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
fpic ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
glibc-staticlib-args ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
hir-tree Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
inaccessible-temp-dir run-make test: using single quotes to not trigger the shell 2023-04-28 16:11:45 +02:00
include_bytes_deps Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
incr-add-rust-src-component ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
incr-foreign-head-span Validate crate name in CLI option --extern 2023-09-20 18:50:40 +02:00
incr-prev-body-beyond-eof move tools.mk to run-make 2023-03-30 07:58:50 -05:00
incremental-debugger-visualizer Fix run-make/inrcemental-debugger-visualizer test for macOS. 2023-05-19 11:02:16 +02:00
incremental-session-fail move tools.mk to run-make 2023-03-30 07:58:50 -05:00
inline-always-many-cgu Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
interdependent-c-libraries ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
intrinsic-unreachable Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
invalid-library Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
invalid-so move tools.mk to run-make 2023-03-30 07:58:50 -05:00
invalid-staticlib Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue64319 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-7349 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-10971-temps-dir move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-11908 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-14500 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-14698 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-15460 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-18943 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-20626 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-22131 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-24445 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-25581 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-26006 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-26092 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-28595 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-28766 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-30063 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-33329 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-35164 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-36710 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-37839 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-37893 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-38237 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-40535 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-46239 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-47384 move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-47551 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
issue-51671 Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
issue-53964 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-64153 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
issue-68794-textrel-on-minimal-lib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-69368 Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
issue-83045 Fix symbol conflict diagnostic mistakenly being shown instead of missing crate diagnostic 2023-05-23 07:37:16 +00:00
issue-83112-incr-test-moved-file move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-84395-lto-embed-bitcode move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-85019-moved-src-dir move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-85401-static-mir move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-85441 move tools.mk to run-make 2023-03-30 07:58:50 -05:00
issue-88756-default-output Delete obsolete --disable-per-crate-search rustdoc flag 2023-09-20 22:09:48 -07:00
issue-97463-abi-param-passing ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-107094 Make commit-date pattern more specific in test for issue 107094 2023-04-17 18:53:52 +02:00
issue-109934-lto-debuginfo debuginfo: split method declaration and definition 2023-05-03 15:52:31 -07:00
jobserver-error 1. fix jobserver GLOBAL_CLIENT_CHECKED uninitialized before use 2023-12-08 09:50:28 +08:00
libs-through-symlinks ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
libtest-json Change default panic handler message format. 2023-07-29 11:42:50 +02:00
libtest-junit Change default panic handler message format. 2023-07-29 11:42:50 +02:00
libtest-padding libtest: Fix padding of benchmarks run as tests 2023-12-07 19:24:58 +01:00
libtest-thread-limit Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrum 2023-04-03 01:34:05 +00:00
link-arg Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
link-args-order Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
link-cfg ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
link-dedup Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
link-path-order ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
linkage-attr-on-static ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
llvm-ident Support .comment section like GCC/Clang (!llvm.ident) 2023-07-21 22:01:50 +02:00
llvm-outputs move tools.mk to run-make 2023-03-30 07:58:50 -05:00
long-linker-command-lines ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
long-linker-command-lines-cmd-exe ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
longjmp-across-rust ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
ls-metadata Fix tests 2023-09-10 15:50:48 +00:00
lto-dylib-dep ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-empty ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-linkage-used-attr Add a test for #108030 2023-09-11 22:01:55 +08:00
lto-no-link-whole-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-readonly-lib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-smoke ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-smoke-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
macos-deployment-target Raise minimum supported macOS to 10.12 2023-09-23 19:14:25 -05:00
macos-fat-archive move tools.mk to run-make 2023-03-30 07:58:50 -05:00
manual-crate-name Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
manual-link ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
many-crates-but-no-match Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
metadata-dep-info tests/run-make: Move RUSTC_TEST_OP to tools.mk 2023-10-07 08:30:40 +02:00
metadata-flag-frobs-symbols ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
min-global-align Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
mingw-export-call-convention Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
mismatching-target-triples Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
missing-crate-dependency Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
mixing-deps ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
mixing-formats ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
mixing-libs Verify that all crate sources are in sync 2023-07-19 14:47:05 +00:00
msvc-opt-minsize ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
multiple-emits Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
native-link-modifier-bundle move tools.mk to run-make 2023-03-30 07:58:50 -05:00
native-link-modifier-verbatim-linker move tools.mk to run-make 2023-03-30 07:58:50 -05:00
native-link-modifier-verbatim-rustc move tools.mk to run-make 2023-03-30 07:58:50 -05:00
native-link-modifier-whole-archive move tools.mk to run-make 2023-03-30 07:58:50 -05:00
no-alloc-shim Ignore test on MSVC for now 2023-05-11 14:47:56 +00:00
no-builtins-attribute Add the no-builtins attribute to functions when no_builtins is applied at the crate level. 2023-07-18 22:15:47 +08:00
no-builtins-lto Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
no-cdylib-as-rdylib Verify that all crate sources are in sync 2023-07-19 14:47:05 +00:00
no-duplicate-libs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
no-input-file move tools.mk to run-make 2023-03-30 07:58:50 -05:00
no-intermediate-extras ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
obey-crate-type-flag ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
optimization-remarks-dir Add rustc option to output LLVM optimization remarks to YAML files 2023-07-02 13:41:36 +02:00
optimization-remarks-dir-pgo ignore-cross-compile on optimization-remarks-dir-pgo test 2023-08-18 09:41:08 +02:00
output-filename-conflicts-with-directory Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
output-filename-overwrites-input Fix tests 2023-09-10 15:50:48 +00:00
output-type-permutations ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
output-with-hyphens ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
override-aliased-flags ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
overwrite-input Bless run-make tests 2023-11-24 19:15:52 +01:00
panic-abort-eh_frame Run AbortUnwindingCalls after generator transform 2023-08-18 13:51:42 +01:00
panic-impl-transitive move tools.mk to run-make 2023-03-30 07:58:50 -05:00
pass-linker-flags Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
pass-linker-flags-flavor Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
pass-linker-flags-from-dep Enable link-arg link kind inside of #[link] attribute 2023-11-30 08:26:13 -08:00
pass-non-c-like-enum-to-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
pdb-buildinfo-cl-cmd Add missing Debuginfo to PDB debug file on windows. 2023-09-08 00:28:40 +02:00
pgo-branch-weights ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
pgo-gen ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
pgo-gen-lto ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
pgo-gen-no-imp-symbols Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
pgo-indirect-call-promotion ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
pgo-use ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
pointer-auth-link-with-c ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
prefer-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
prefer-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
pretty-print-to-file Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
pretty-print-with-dep-file Fix missing dependency file with -Zunpretty 2023-08-04 20:13:40 +02:00
print-calling-conventions move tools.mk to run-make 2023-03-30 07:58:50 -05:00
print-cfg Stabilize PATH option for --print KIND=PATH 2023-09-07 15:07:30 +02:00
print-native-static-libs De-duplicate consecutive libs when printing native-static-libs 2023-07-12 20:04:30 +02:00
print-target-list Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
profile ignore-cross-compile remaining tests that run binaries 2023-08-30 13:45:57 +02:00
prune-link-args ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
raw-dylib-alt-calling-convention tests/run-make: Use RUSTC_TEST_OP in more places 2023-10-07 08:30:40 +02:00
raw-dylib-c tests: Normalize \r\n to \n in some run-make tests 2024-01-06 18:46:35 +03:00
raw-dylib-cross-compilation Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-custom-dlltool Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-import-name-type tests/run-make: Use RUSTC_TEST_OP in more places 2023-10-07 08:30:40 +02:00
raw-dylib-inline-cross-dylib tests: Normalize \r\n to \n in some run-make tests 2024-01-06 18:46:35 +03:00
raw-dylib-link-ordinal tests: Normalize \r\n to \n in some run-make tests 2024-01-06 18:46:35 +03:00
raw-dylib-stdcall-ordinal tests/run-make: Use RUSTC_TEST_OP in more places 2023-10-07 08:30:40 +02:00
redundant-libs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
relocation-model ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
relro-levels ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
remap-path-prefix Test -Zremap-path-scope=split-debuginfo with -Csplit-debuginfo=packed 2023-10-17 10:11:31 +02:00
remap-path-prefix-dwarf Adjust tests for MacOS having different -Csplit-debuginfo default 2023-10-17 10:11:31 +02:00
repr128-dwarf move tools.mk to run-make 2023-03-30 07:58:50 -05:00
reproducible-build ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
reproducible-build-2 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
resolve-rename Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
return-non-c-like-enum ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
return-non-c-like-enum-from-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rlib-chain ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rlib-format-packed-bundled-libs move tools.mk to run-make 2023-03-30 07:58:50 -05:00
rlib-format-packed-bundled-libs-2 move tools.mk to run-make 2023-03-30 07:58:50 -05:00
rlib-format-packed-bundled-libs-3 stabilize combining +bundle and +whole-archive link modifiers 2023-08-15 15:51:18 -05:00
rmeta-preferred Rewrite rmeta-rpass test to work with the new check for all crate sources being in sync 2023-07-19 14:47:06 +00:00
rust-lld add end-to-end test 2023-06-30 21:13:24 +00:00
rust-lld-custom-target Update data layouts in custom target tests for LLVM 18 2024-01-31 15:15:59 +01:00
rustc-macro-dep-files Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
rustdoc-determinism Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
rustdoc-error-lines Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
rustdoc-io-error Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
rustdoc-map-file Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00
rustdoc-output-path Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
rustdoc-scrape-examples-invalid-expr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-macros ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rustdoc-scrape-examples-multiple move tools.mk to run-make 2023-03-30 07:58:50 -05:00
rustdoc-scrape-examples-ordering Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-remap Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-test Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-scrape-examples-whitespace Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc-shared-flags Replace rustdoc-ui/{c,z}-help tests with a run-make test 2023-04-12 05:34:21 -05:00
rustdoc-target-spec-json-path Update data layouts in custom target tests for LLVM 18 2024-01-31 15:15:59 +01:00
rustdoc-themes rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
rustdoc-verify-output-files Rollup merge of #109036 - chenyukang:yukang/fix-testcase, r=jyn514 2023-04-13 21:58:35 +02:00
rustdoc-with-out-dir-option move tools.mk to run-make 2023-03-30 07:58:50 -05:00
rustdoc-with-output-option move tools.mk to run-make 2023-03-30 07:58:50 -05:00
rustdoc-with-short-out-dir-option move tools.mk to run-make 2023-03-30 07:58:50 -05:00
sanitizer-cdylib-link Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag 2024-01-03 10:00:15 -08:00
sanitizer-dylib-link Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag 2024-01-03 10:00:15 -08:00
sanitizer-staticlib-link Enable address sanitizer for MSVC targets using INFERASANLIBS linker flag 2024-01-03 10:00:15 -08:00
separate-link ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
separate-link-fail Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
sepcomp-cci-copies Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
sepcomp-inlining Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
sepcomp-separate Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
share-generics-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
short-ice Fix dump-ice-to-disk and short-ice tests when librustc-driver is dynamically linked 2023-07-20 14:31:56 +02:00
silly-file-names tests/run-make: Move RUSTC_TEST_OP to tools.mk 2023-10-07 08:30:40 +02:00
simd-ffi Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
simple-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
simple-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
split-debuginfo test: enable unpacked-lto tests 2024-01-23 11:07:48 -05:00
stable-symbol-names Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
static-dylib-by-default ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
static-extern-type ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
static-pie make 32bit ignore more accurate 2023-04-03 10:23:08 +02:00
static-unwinding Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
staticlib-blank-lib Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
staticlib-dylib-linkage Ignore test when cross compiling 2023-04-27 18:22:06 +00:00
std-core-cycle ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
stdin-non-utf8 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
suspicious-library ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symbol-mangling-hashed MCP #705: Provide the option -Csymbol-mangling-version=hashed -Z unstable-options to shorten symbol names by replacing them with a digest. 2024-01-26 12:39:03 +08:00
symbol-visibility ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symbols-include-type-name Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
symlinked-extern ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symlinked-libraries ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symlinked-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
sysroot-crates-are-unstable Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00
target-cpu-native Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
target-specs Update data layouts in custom target tests for LLVM 18 2024-01-31 15:15:59 +01:00
target-without-atomic-cas Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
test-benches Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
test-harness ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
thumb-none-cortex-m move tools.mk to run-make 2023-03-30 07:58:50 -05:00
thumb-none-qemu move tools.mk to run-make 2023-03-30 07:58:50 -05:00
track-path-dep-info move tools.mk to run-make 2023-03-30 07:58:50 -05:00
track-pgo-dep-info move tools.mk to run-make 2023-03-30 07:58:50 -05:00
translation Fix tests/run-make-translation when download-rustc is enabled 2023-04-19 00:39:20 -05:00
type-mismatch-same-crate-name Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
unknown-mod-stdin Bless run-make tests 2023-11-24 19:15:52 +01:00
unstable-flag-required move tools.mk to run-make 2023-03-30 07:58:50 -05:00
use-suggestions-rust-2018 Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
used Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
used-cdylib-macos Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
valid-print-requests Sort PRINT_KINDS. 2023-11-30 17:28:29 +11:00
version Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
volatile-intrinsics ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
wasm-abi move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-custom-section move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-custom-sections-opt move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-exceptions-nostd rename 'try' intrinsic to 'catch_unwind' 2024-02-26 11:10:18 +01:00
wasm-export-all-symbols move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-import-module move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-override-linker add test for wasm linker override=clang 2023-10-09 11:42:23 +09:00
wasm-panic-small move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-spurious-import Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
wasm-stringify-ints-small move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-symbols-different-module move tools.mk to run-make 2023-03-30 07:58:50 -05:00
wasm-symbols-not-exported Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
wasm-symbols-not-imported move tools.mk to run-make 2023-03-30 07:58:50 -05:00
weird-output-filenames Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
windows-binary-no-external-deps Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
windows-safeseh Mark .rmeta files as /SAFESEH on x86 Windows. 2023-10-24 13:42:28 -07:00
windows-spawn Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
windows-subsystem ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
x86_64-fortanix-unknown-sgx-lvi Verify that (almost) all ret instructions have been replaced 2023-06-05 17:33:26 +02:00
git_clone_sha1.sh Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tools.mk Add synchronization library to run-make flags 2024-02-25 22:28:30 -03:00