]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_target/src/abi/call/mod.rs
Add loongarch64 abi support
[rust.git] / compiler / rustc_target / src / abi / call / mod.rs
index d2fb8c32ffd275de5db709537a1b8f9bb72ade26..bd3cb7951edb0517d7c0ae63e7735585161593b5 100644 (file)
@@ -10,6 +10,7 @@
 mod avr;
 mod bpf;
 mod hexagon;
+mod loongarch;
 mod m68k;
 mod mips;
 mod mips64;
@@ -696,6 +697,7 @@ pub fn adjust_for_foreign_abi<C>(
             "amdgpu" => amdgpu::compute_abi_info(cx, self),
             "arm" => arm::compute_abi_info(cx, self),
             "avr" => avr::compute_abi_info(self),
+            "loongarch64" => loongarch::compute_abi_info(cx, self),
             "m68k" => m68k::compute_abi_info(self),
             "mips" => mips::compute_abi_info(cx, self),
             "mips64" => mips64::compute_abi_info(cx, self),