about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2021-02-02 21:53:30 -0500
committerFelix S. Klock II <pnkfelix@pnkfx.org>2021-02-02 21:53:30 -0500
commit03c000eb20b4f36428b8c64056bc54de8cd767ac (patch)
tree5d7f21401141e0a512c32d9e05285e28206c3542 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent368275062fb655c1f36e0398f88b15379a1f3c93 (diff)
downloadrust-03c000eb20b4f36428b8c64056bc54de8cd767ac.tar.gz
rust-03c000eb20b4f36428b8c64056bc54de8cd767ac.zip
Use `# min-llvm-version: 11.0` to force a minimum LLVM version, rather than ad-hoc internal solution.
In particular: the specific code to define LLVM_VERSION_11_PLUS here was, for
some reason, using `$(shell ...)` with bash-specific variable replacement code.
On non-bash platforms like dash, that `shell` invocation would fail, and the
LLVM_VERSION_11_PLUS check would always fail, the test would always be ignored,
and thus be treated as a "success" (in the sense that `--bless` would never do
anything).

This was causing me a lot of pain.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions