summaryrefslogtreecommitdiff
path: root/3ds.json
diff options
context:
space:
mode:
authorDario Bartussek <[email protected]>2021-03-26 18:42:59 +0100
committerDario Bartussek <[email protected]>2021-03-26 18:42:59 +0100
commit2910e99c89eb10ccc3b8036a2975ae13302475d9 (patch)
treecdcf3c32b6a0f24a8fcdf3c77073a880b9631c06 /3ds.json
downloadrust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.tar.xz
rust_3ds-2910e99c89eb10ccc3b8036a2975ae13302475d9.zip
Basic example for compiling Rust for the 3DS as elf
Diffstat (limited to '3ds.json')
-rw-r--r--3ds.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/3ds.json b/3ds.json
new file mode 100644
index 0000000..3c2ff61
--- /dev/null
+++ b/3ds.json
@@ -0,0 +1,29 @@
+{
+ "llvm-target": "arm-none-eabihf",
+ "data-layout": "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64",
+
+ "os": "none",
+ "env": "eabi",
+ "vendor": "unknown",
+ "arch": "arm",
+ "target-cpu": "mpcore",
+ "features": "+strict-align,+v6,+vfp2,-d32",
+
+ "target-endian": "little",
+ "target-pointer-width": "32",
+ "target-c-int-width": "32",
+ "max-atomic-width": 64,
+
+ "linker-flavor": "ld.lld",
+ "linker": "rust-lld",
+
+ "executables": true,
+ "dynamic-linking": false,
+
+ "relocation-model": "static",
+
+ "no-compiler-rt": true,
+ "panic-strategy": "abort",
+
+ "crt-static-respected": true
+}