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-10-08 23:32:03 +0200
committerGitHub <noreply@github.com>2022-10-08 23:32:03 +0200
commit5d2c29d2a1a8477ecbbbfb1a88b20ce07664e580 (patch)
tree407439e583bb7d4c4083bc213e330b0dd2ddb4a8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent6776cac4c1ba658fb9154a27fbe54a49f46b4071 (diff)
parent67220d69702b4428a811d063fce3045da7a4040d (diff)
downloadrust-5d2c29d2a1a8477ecbbbfb1a88b20ce07664e580.tar.gz
rust-5d2c29d2a1a8477ecbbbfb1a88b20ce07664e580.zip
Rollup merge of #102581 - jyn514:src-detection, r=Mark-Simulacrum
Make the `config.src` handling for downloadable bootstrap more conservative

In particular, this supports build directories within an unrelated git repository. Fixes https://github.com/rust-lang/rust/issues/102562.

As a side effect, it will fall back to the old logic when the source directory is being built from a tarball within an unrelated git repository. However, that second case is unsupported and untested; we reserve the right to break it in the future.

`@cr1901` can you confirm this fixes your problem?
cc `@kleisauke,` I believe this will also fix your issue (although your use case still isn't supported).

r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions