about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-02 01:13:02 +0000
committerbors <bors@rust-lang.org>2017-08-02 01:13:02 +0000
commitf5f58d0298506004ad0e6b0df748cad52d0fd24c (patch)
tree64b55ece4625462b3bd787df35870f4da7b6ef93 /src/rustllvm/RustWrapper.cpp
parent640cfc852ae17d51a2f5e75fcae9a93431a3b38c (diff)
parent881a7246606cb6ced8ba63a8d58b7e54fed90b7c (diff)
downloadrust-f5f58d0298506004ad0e6b0df748cad52d0fd24c.tar.gz
rust-f5f58d0298506004ad0e6b0df748cad52d0fd24c.zip
Auto merge of #43579 - cuviper:extern-llvm-features, r=alexcrichton
Gate LLVMRustHasFeature on LLVM_RUSTLLVM

Commit c4710203c098b in #43492 make `LLVMRustHasFeature` "more robust"
by using `getFeatureTable()`.  However, this function is specific to
Rust's own LLVM fork, not upstream LLVM-4.0, so we need to use
`#if LLVM_RUSTLLVM` to guard this call.

Closes #43555.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions