aboutsummaryrefslogtreecommitdiff
path: root/x86_64_rustubs.json
diff options
context:
space:
mode:
authorTianhao Wang <shrik3@riseup.net>2023-03-10 19:26:31 +0100
committerTianhao Wang <shrik3@riseup.net>2023-03-10 19:26:31 +0100
commit29e28bc9c67378d0d9a7174dec6a0b541fb7f4d5 (patch)
treeff9cd708e41ffb7f3b84347d404ffde758c18ab5 /x86_64_rustubs.json
parent285508a3c9c2fa35b608e3a561f0c7a63cfacf62 (diff)
a minimal working demo on bare metal
Diffstat (limited to 'x86_64_rustubs.json')
-rw-r--r--x86_64_rustubs.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/x86_64_rustubs.json b/x86_64_rustubs.json
new file mode 100644
index 0000000..2e90078
--- /dev/null
+++ b/x86_64_rustubs.json
@@ -0,0 +1,13 @@
+{
+ "llvm-target": "x86_64-unknown-none",
+ "data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
+ "linker-flavor": "gcc",
+ "target-endian": "little",
+ "target-pointer-width": "64",
+ "target-c-int-width": "32",
+ "arch": "x86_64",
+ "os": "none",
+ "disable-redzone": true,
+ "features": "-mmx,-sse,-avx,+soft-float",
+ "frame-pointer": "always"
+}