about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-03-22 02:20:33 +0100
committerGitHub <noreply@github.com>2021-03-22 02:20:33 +0100
commit790c2ad46ac5d29903d75125679b7604dcc206fe (patch)
tree187ee85ef8de6548d3f418b43f95502014781607 /compiler/rustc_codegen_llvm/src
parentea5ba76d1cdbc1f3cbe5f5d8582349fcf7373ed6 (diff)
parent4002171315bb294d9c518dd1f053072ced66e282 (diff)
downloadrust-790c2ad46ac5d29903d75125679b7604dcc206fe.tar.gz
rust-790c2ad46ac5d29903d75125679b7604dcc206fe.zip
Rollup merge of #83350 - jyn514:llvm-version, r=Mark-Simulacrum
Download a more recent LLVM version if `src/version` is modified

When bumping the bootstrap version, the name of the generated LLVM
shared object file is changed, even though it's the same contents as
before. If bootstrap tries to use an older version, it will get linking
errors:

```
Building rustdoc for stage1 (x86_64-unknown-linux-gnu)
   Compiling rustdoc-tool v0.0.0 (/home/joshua/rustc/src/tools/rustdoc)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" ... lots of args ...
  = note: /usr/bin/ld: cannot find -lLLVM-12-rust-1.53.0-nightly
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: could not compile `rustdoc-tool`
```

Helps with https://github.com/rust-lang/rust/issues/81930.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions