mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Add Xtensa as an experimental target
This commit is contained in:
parent
4cf5723dbe
commit
c72fcfbc40
@ -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,
|
||||
|
@ -330,7 +330,7 @@ impl Step for Llvm {
|
||||
|
||||
let llvm_exp_targets = match builder.config.llvm_experimental_targets {
|
||||
Some(ref s) => s,
|
||||
None => "AVR;M68k;CSKY",
|
||||
None => "AVR;M68k;CSKY;Xtensa",
|
||||
};
|
||||
|
||||
let assertions = if builder.config.llvm_assertions { "ON" } else { "OFF" };
|
||||
|
Loading…
Reference in New Issue
Block a user