about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-09-14 18:09:33 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-09-14 18:27:04 -0500
commitb31628ddacda76253b707e230293f13d95b88369 (patch)
treeb5c1690f0a6011db483289f09d562846d8eece00 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent55c040e52964e4ad81b4b2af3c91068a80b92f11 (diff)
downloadrust-b31628ddacda76253b707e230293f13d95b88369.tar.gz
rust-b31628ddacda76253b707e230293f13d95b88369.zip
Don't hardcode the path to `bootstrap_out`
The `rust-dev` dist component puts binaries in `bootstrap/bin`, but we expected them to be in
`bootstrap/debug` to match cargo's behavior.  Rather than making the dist component inconsistent
with other components, make bootstrap slightly smarter and allow using any path as long as all the
binaries are in the same directory.

As a bonus, this greatly simplifies the logic, and makes it possible for the shell scripts to start
avoiding python.

Co-authored-by: Joshua Nelson <github@jyn.dev>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions