about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-12-31 22:20:51 +0100
committerGitHub <noreply@github.com>2020-12-31 22:20:51 +0100
commit5bffc265b0da4fda4f80f2f81697beef0289ef6c (patch)
tree312328b34e91d11f01df8db7172a02a5058110be /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent7d247c924692ad60f22aee90965639fce969f3d8 (diff)
parent8e0ab0fb5e35c96ba92c586eb9e0aa684fcd567d (diff)
downloadrust-5bffc265b0da4fda4f80f2f81697beef0289ef6c.tar.gz
rust-5bffc265b0da4fda4f80f2f81697beef0289ef6c.zip
Rollup merge of #80514 - pietroalbini:fix-install, r=Mark-Simulacrum
Fix broken ./x.py install

During my tarball refactorings in https://github.com/rust-lang/rust/pull/79788 I changed the directory layout used by the tarball generation code, and that broke the other parts of rustbuild which hardcoded the paths of those directories. Namely, `./x.py install` relied on the uncompressed copy of the tarball left behind by `fabricate`/`rust-installer`, causing https://github.com/rust-lang/rust/issues/80494.

While the easy fix for https://github.com/rust-lang/rust/issues/80494 would've been to just update the hardcoded paths to match the new structure, that fix would leave us in the same situation if we were to change the directory layout again in the future. Instead I refactored the code to return a `GeneratedTarball` struct as the output of all the dist steps, and I put all the paths the rest of rustbuild needs to care about in its fields. That way, future changes to `src/bootstrap/tarball.rs` will not break other stuff.

This PR is best reviewed commit-by-commit.
r? `@Mark-Simulacrum`
`@rustbot` modify labels: beta-nominated beta-accepted T-release
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions