From c72fcfbc40a57f88de1a64a2bc69f85e2844b77e Mon Sep 17 00:00:00 2001 From: Scott Mabin Date: Tue, 28 May 2024 13:38:43 +0100 Subject: Add Xtensa as an experimental target --- compiler/rustc_llvm/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'compiler/rustc_llvm/src/lib.rs') diff --git a/compiler/rustc_llvm/src/lib.rs b/compiler/rustc_llvm/src/lib.rs index 6a570c97c88..ae1848a7363 100644 --- a/compiler/rustc_llvm/src/lib.rs +++ b/compiler/rustc_llvm/src/lib.rs @@ -188,6 +188,13 @@ pub fn initialize_available_targets() { LLVMInitializeHexagonAsmPrinter, LLVMInitializeHexagonAsmParser ); + init_target!( + llvm_component = "xtensa", + LLVMInitializeXtensaTargetInfo, + LLVMInitializeXtensaTarget, + LLVMInitializeXtensaTargetMC, + LLVMInitializeXtensaAsmParser + ); init_target!( llvm_component = "webassembly", LLVMInitializeWebAssemblyTargetInfo, -- cgit 1.4.1-3-g733a5