diff options
| author | Josh Stone <jistone@redhat.com> | 2021-03-22 12:44:48 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-03-22 12:44:48 -0700 |
| commit | b97a33b1cb90326ccfa1c8a9882e50cd9e6de80f (patch) | |
| tree | b4d425d65cffda19f6f71ad269d00b6fed816666 /compiler/rustc_llvm/src | |
| parent | 7d872f538efc5cb3786c3aa0a6654bae7a67ec63 (diff) | |
| download | rust-b97a33b1cb90326ccfa1c8a9882e50cd9e6de80f.tar.gz rust-b97a33b1cb90326ccfa1c8a9882e50cd9e6de80f.zip | |
All supported LLVM versions have MSP430AsmPrinter
Diffstat (limited to 'compiler/rustc_llvm/src')
| -rw-r--r-- | compiler/rustc_llvm/src/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 592010d78cf..555aefb1929 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -125,10 +125,7 @@ pub fn initialize_available_targets() { LLVMInitializeMSP430TargetInfo, LLVMInitializeMSP430Target, LLVMInitializeMSP430TargetMC, - LLVMInitializeMSP430AsmPrinter - ); - init_target!( - all(llvm_component = "msp430", llvm_has_msp430_asm_parser), + LLVMInitializeMSP430AsmPrinter, LLVMInitializeMSP430AsmParser ); init_target!( |
