cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

Add mips-mti-none-elf and mipsel-mti-none-elf

Open wzssyqa opened this issue 1 year ago • 1 comments

These two triples have just been supported by Rustc with

https://github.com/rust-lang/rust/pull/135074

Please add support of them to cc-rs https://github.com/wzssyqa/cc-rs/commit/72855ee101c66db60fe1ea5b55ef5787b358026f

diff --git a/src/target/generated.rs b/src/target/generated.rs
index bf157979..3a436a3c 100644
--- a/src/target/generated.rs
+++ b/src/target/generated.rs
@@ -1480,6 +1480,18 @@ pub(crate) const LIST: &[(&str, TargetInfo<'static>)] = &[
             unversioned_llvm_target: "m68k-unknown-linux-gnu",
         },
     ),
+    (
+        "mips-mti-none-elf",
+        TargetInfo {
+            full_arch: "mips",
+            arch: "mips",
+            vendor: "mti",
+            os: "none",
+            env: "",
+            abi: "",
+            unversioned_llvm_target: "mips",
+        },
+    ),
     (
         "mips-unknown-linux-gnu",
         TargetInfo {
@@ -1576,6 +1588,18 @@ pub(crate) const LIST: &[(&str, TargetInfo<'static>)] = &[
             unversioned_llvm_target: "mips64el-unknown-linux-musl",
         },
     ),
+    (
+        "mipsel-mti-none-elf",
+        TargetInfo {
+            full_arch: "mipsel",
+            arch: "mips",
+            vendor: "mti",
+            os: "none",
+            env: "",
+            abi: "",
+            unversioned_llvm_target: "mipsel",
+        },
+    ),
     (
         "mipsel-sony-psp",
         TargetInfo {

wzssyqa avatar Jan 05 '25 11:01 wzssyqa

The target file will be regenerated this Friday, and then an automatic release will follow soon afterwords.

NobodyXu avatar Jan 05 '25 11:01 NobodyXu