diff options
| author | Luca Barbato <lu_zero@gentoo.org> | 2017-07-28 02:03:23 +0000 |
|---|---|---|
| committer | Luca Barbato <lu_zero@gentoo.org> | 2017-07-28 14:30:06 +0000 |
| commit | c4710203c098b68b5f80b1507e889ad894855729 (patch) | |
| tree | 71052bd4843b612179d9dde9c167e7c1c59a01c9 /src/rustllvm/RustWrapper.cpp | |
| parent | cbce0aa341c8be3f4b9253c93ed641ed454fc0a0 (diff) | |
| download | rust-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
