about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-03-21 12:10:34 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-03-21 12:10:34 -0400
commit4002171315bb294d9c518dd1f053072ced66e282 (patch)
tree6d92e33df29af2e402e45bf20051bdb6b46af69c /compiler/rustc_codegen_llvm/src
parentbbf07c0b4f210ced7bd2785ab554e0d805644235 (diff)
downloadrust-4002171315bb294d9c518dd1f053072ced66e282.tar.gz
rust-4002171315bb294d9c518dd1f053072ced66e282.zip
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`
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions