about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2017-07-31 18:10:01 -0700
committerJosh Stone <jistone@redhat.com>2017-07-31 18:10:01 -0700
commit881a7246606cb6ced8ba63a8d58b7e54fed90b7c (patch)
treea5ace6976732de292db08c36cd3c546e2919eb3a /src/rustllvm/RustWrapper.cpp
parent37c7d0ebb3ec5b62bd37df9ee8826194e3c6300a (diff)
downloadrust-881a7246606cb6ced8ba63a8d58b7e54fed90b7c.tar.gz
rust-881a7246606cb6ced8ba63a8d58b7e54fed90b7c.zip
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions