Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gate LLVMRustHasFeature on LLVM_RUSTLLVM
Commit c471020 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.
- Loading branch information