]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #81955 - dtolnay:dwp, r=Mark-Simulacrum
authorYuki Okushi <huyuumi.dev@gmail.com>
Fri, 12 Feb 2021 10:32:11 +0000 (19:32 +0900)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 10:32:11 +0000 (19:32 +0900)
commit67403da1ebefa360a4a2309d3ec92b56c8471362
tree8f9e6dbb0d83e092f192925def0292a90422e6aa
parent2a76add29f3c78cffa6475c4e6fdf6dd49a8299c
parentd3fea13ae0949a64b5809ba6a7304307ddf3528e
Rollup merge of #81955 - dtolnay:dwp, r=Mark-Simulacrum

bootstrap: Locate llvm-dwp based on llvm-config bindir

Fixes #81949.

Tested by successfully building 1.50.0 pre-release, which is where I originally hit the issue (https://internals.rust-lang.org/t/rust-1-50-0-pre-release-testing/14012/4?u=dtolnay). Tested both with and without prebuilt LLVM. The check for dry_run is necessary in the non-prebuilt case because the llvm-config built by bootstrap won't exist yet.