rust/src/test/run-make
bors 9dbbbb12c0 Auto merge of #83846 - torhovland:issue-10971, r=davidtwco
Added the --temps-dir option

Fixes #10971.

The new `--temps-dir` option puts intermediate files in a user-specified directory. This provides a fix for the issue where parallel invocations of rustc would overwrite each other's intermediate files.

No files are kept in the intermediate directory unless `-C save-temps=yes`.

If additional files are specifically requested using `--emit asm,llvm-bc,llvm-ir,obj,metadata,link,dep-info,mir`, these will be put in the output directory rather than the intermediate directory.

This is a backward-compatible change, i.e. if `--temps-dir` is not specified, the behavior is the same as before.
2021-11-11 02:52:32 +00:00
..
const_fn_mir Revert "Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk"" 2021-08-19 22:28:32 -04:00
dep-graph Add a test that -Zquery-dep-graph -Zdump-dep-graph works 2021-10-09 08:13:53 -04:00
emit-named-files Add test for --emit TYPE=path 2021-05-28 22:52:59 -07:00
emit-path-unhashed Add test showing different KIND parameters change hash 2021-06-21 17:22:35 -07:00
emit-shared-files change SourceSerifPro to SourceSerif4 in emit-shared-files test 2021-04-05 10:51:37 +02:00
env-dep-info proc_macro: Add API for tracked access to environment variables 2020-07-26 13:37:37 +03:00
fmt-write-bloat Add test to check for fmt::write bloat. 2020-11-29 11:38:51 +01:00
incr-foreign-head-span Don't use guess_head_span in predicates_of for foreign span 2021-08-27 23:19:49 -05:00
incr-prev-body-beyond-eof test: run-make: skip tests on unsupported platforms 2021-03-28 16:50:56 +01:00
incremental-session-fail Fix incremental-session-fail to work when run as root. 2021-05-29 08:54:51 -07:00
invalid-so Improve error when an .rlib can't be parsed 2021-11-07 15:03:40 +00:00
issue-10971-temps-dir Changing cdylib to staticlib, as the former doesn't work with arm-none-eabi-gcc. 2021-11-10 08:25:35 +01:00
issue-36710 Add -Zunstable-options instead of feature 2021-10-28 23:38:21 +02:00
issue-71519 gcc-lld mvp 2021-06-10 17:10:40 +10:00
issue-83112-incr-test-moved-file test: run-make: skip tests on unsupported platforms 2021-03-28 16:50:56 +01:00
issue-85019-moved-src-dir Add --target flag to issue-85019-moved-src-dir 2021-08-15 17:37:26 -05:00
issue-85441 Run the #85441 regression test on MSVC only 2021-10-02 22:16:23 +03:00
libtest-thread-limit [libtest] Run the test synchronously when hitting thread limit 2021-02-17 21:38:25 +08:00
llvm-outputs add test for issue #21335 2018-11-26 12:41:43 -05:00
native-link-modifier-whole-archive Add test case for no-bundle/whole-archive native libs linking. 2021-09-07 14:14:08 +02:00
raw-dylib-alt-calling-convention Add support for raw-dylib with stdcall, fastcall functions on i686-pc-windows-msvc. 2021-07-09 12:04:54 -07:00
raw-dylib-c Add support for raw-dylib with stdcall, fastcall functions on i686-pc-windows-msvc. 2021-07-09 12:04:54 -07:00
raw-dylib-link-ordinal Implement #[link_ordinal] attribute in the context of #[link(kind = "raw-dylib")]. 2021-09-20 14:50:35 -07:00
rustc-macro-dep-files expand: Stop using nonterminals for passing tokens to attribute and derive macros 2020-07-01 13:13:21 +03:00
rustdoc-scrape-examples-invalid-expr Fix rare ICE during typeck in rustdoc scrape_examples 2021-10-29 13:21:50 -07:00
rustdoc-scrape-examples-multiple Fix rare ICE during typeck in rustdoc scrape_examples 2021-10-29 13:21:50 -07:00
rustdoc-scrape-examples-ordering Sort scraped call locations before serializing 2021-11-04 13:57:09 -07:00
rustdoc-scrape-examples-remap Add test for ordering of examples, simplify with single scrape.mk file 2021-10-08 20:49:05 -07:00
static-pie Fix src/test/run-make/static-pie/test-aslr.rs 2020-07-13 11:33:03 +02:00
thumb-none-cortex-m Provide bootstrap tools with RUSTC in environment 2020-09-20 16:39:13 -04:00
thumb-none-qemu rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
track-path-dep-info add track_path::path fn for proc-macro usage 2021-07-02 07:13:19 +02:00
unstable-flag-required Update tests 2021-08-24 11:39:22 -04:00
wasm-abi rustc: Add a new wasm ABI 2021-04-08 08:03:18 -07:00
wasm-custom-section Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-custom-sections-opt Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-export-all-symbols Check for the entry kind 2020-01-08 10:05:44 +01:00
wasm-import-module Update tests for extern block linting 2021-01-13 07:49:16 -05:00
wasm-panic-small Use Cell::take in a couple places 2020-04-26 11:50:53 +02:00
wasm-spurious-import Add regression test for a spurious import 2021-08-30 12:54:54 +02:00
wasm-stringify-ints-small Change opt-level from 2 back to 3 2020-01-30 15:40:14 -05:00
wasm-symbols-different-module Fix handling of wasm import modules and names 2019-12-16 14:43:46 -08:00
wasm-symbols-not-exported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-symbols-not-imported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
x86_64-fortanix-unknown-sgx-lvi rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00
git_clone_sha1.sh Remove licenses 2018-12-25 21:08:33 -07:00