about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-07-28 02:03:23 +0000
committerLuca Barbato <lu_zero@gentoo.org>2017-07-28 14:30:06 +0000
commitc4710203c098b68b5f80b1507e889ad894855729 (patch)
tree71052bd4843b612179d9dde9c167e7c1c59a01c9 /src/rustllvm/RustWrapper.cpp
parentcbce0aa341c8be3f4b9253c93ed641ed454fc0a0 (diff)
downloadrust-c4710203c098b68b5f80b1507e889ad894855729.tar.gz
rust-c4710203c098b68b5f80b1507e889ad894855729.zip
Make LLVMRustHasFeature more robust
The function should accept feature strings that old LLVM might not
support.

Simplify the code using the same approach used by
LLVMRustPrintTargetFeatures.

Dummify the function for non 4.0 LLVM and update the tests accordingly.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions