about summary refs log tree commit diff
path: root/compiler/rustc_llvm/build.rs
diff options
context:
space:
mode:
authorzhaixiaojuan <zhaixiaojuan@loongson.cn>2022-07-07 15:46:10 +0800
committerwangrui <wangrui@loongson.cn>2023-04-04 17:05:08 +0800
commitccf54177990bd569ec1903735e2c55b6b68471a8 (patch)
tree4ec068d491a4f637081b8011ff83ce633cc4e03b /compiler/rustc_llvm/build.rs
parent10f7ba562a2f84ff2cfc6d5beec795c24c7e15cd (diff)
downloadrust-ccf54177990bd569ec1903735e2c55b6b68471a8.tar.gz
rust-ccf54177990bd569ec1903735e2c55b6b68471a8.zip
Enable loongarch64 LLVM target
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
-rw-r--r--compiler/rustc_llvm/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
index f8e9ec535e4..b0783d75d47 100644
--- a/compiler/rustc_llvm/build.rs
+++ b/compiler/rustc_llvm/build.rs
@@ -10,6 +10,7 @@ const OPTIONAL_COMPONENTS: &[&str] = &[
     "aarch64",
     "amdgpu",
     "avr",
+    "loongarch",
     "m68k",
     "mips",
     "powerpc",