Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wzssyqa opened this issue Jan 5, 2025 · 1 comment
Open

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

wzssyqa opened this issue Jan 5, 2025 · 1 comment

Comments

@wzssyqa
Copy link
Contributor

wzssyqa commented Jan 5, 2025

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 {

@NobodyXu
Copy link
Collaborator

NobodyXu commented Jan 5, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants