grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 6/7] x86_64-efi: Support Rust


From: Daniel Axtens
Subject: [RFC PATCH 6/7] x86_64-efi: Support Rust
Date: Tue, 24 Aug 2021 23:32:42 +1000

Only tested in qemu, not on real hardware.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 grub-core/lib/rust/targets/x86_64-efi.json | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 grub-core/lib/rust/targets/x86_64-efi.json

diff --git a/grub-core/lib/rust/targets/x86_64-efi.json 
b/grub-core/lib/rust/targets/x86_64-efi.json
new file mode 100644
index 000000000000..00f1a2b6badf
--- /dev/null
+++ b/grub-core/lib/rust/targets/x86_64-efi.json
@@ -0,0 +1,27 @@
+{
+  "arch": "x86_64",
+  "cpu": "x86-64",
+  "env": "gnu",
+  "data-layout": 
"e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
+  "dynamic-linking": true,
+  "llvm-target": "x86_64-unknown-linux-gnu",
+  "max-atomic-width": 64,
+  "os": "none",
+  "position-independent-executables": true,
+  "pre-link-args": {
+    "gcc": [
+      "-m64"
+    ]
+  },
+  "target-pointer-width": "64",
+  "features": "-mmx,-sse,+soft-float",
+  "relocation-model": "static",
+  "code-model": "large",
+  "disable-redzone": true,
+  "panic-strategy": "abort",
+  "singlethread": true,
+  "no-builtins": true,
+  "stack-probes": {
+    "kind": "none"
+  }
+}
-- 
2.30.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]