about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-19 15:35:19 +0100
committerGitHub <noreply@github.com>2022-11-19 15:35:19 +0100
commit4451e2881fbc7c066e8f44c1b09b69b0648e41d7 (patch)
treeb7ec0ac4f046a73c15df8453b5160f335d209ab0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent52cc0d5360622fe505b4f25973e06b1c9600f07c (diff)
parent470423c3d2cde3a62d5d4ac23840d734e8145366 (diff)
downloadrust-4451e2881fbc7c066e8f44c1b09b69b0648e41d7.tar.gz
rust-4451e2881fbc7c066e8f44c1b09b69b0648e41d7.zip
Rollup merge of #103969 - ferrocene:pa-download-rustc-ui-tests, r=jyn514
Partial support for running UI tests with `download-rustc`

Right now trying to run UI tests with `download-rustc` results in a bunch of test failures, requiring someone who wants to only work on tests to also build the full compiler. This PR **partially** addresses the problem by solving a lot of the errors (but not all).

* This installs the `rust-src` component on CI toolchains, since the test output depends on whether the standard library source code is installed; We can't just symlink the current source because the `rustc-dev` component already includes the compiler sources, but not the library sources, and mixing things is worse IMO.
* This ensures the `$SRC_DIR` normalization done by compiletest correctly handles the source code added above.
* This unconditionally sets `remap-prefix` to the prefix used in the downloaded toolchain, to ensure compiletest normalizes it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions