Skip to content

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

Open
@wzssyqa

Description

@wzssyqa

These two triples have just been supported by Rustc with

rust-lang/rust#135074

Please add support of them to cc-rs
wzssyqa@72855ee

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 {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions