[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
- [RFC PATCH 0/7] Support writing grub modules in Rust, Daniel Axtens, 2021/08/24
- [RFC PATCH 1/7] emu: support grub_memalign, Daniel Axtens, 2021/08/24
- [RFC PATCH 2/7] Rust: module build infrastructure, Daniel Axtens, 2021/08/24
- [RFC PATCH 3/7] Rust: add a slightly more idiomatic wrapper around command handling, Daniel Axtens, 2021/08/24
- [RFC PATCH 4/7] Rust: add the rust_hello module, Daniel Axtens, 2021/08/24
- [RFC PATCH 5/7] powerpc: Support Rust, Daniel Axtens, 2021/08/24
- [RFC PATCH 6/7] x86_64-efi: Support Rust,
Daniel Axtens <=
- [RFC PATCH 7/7] arm64-efi: Support Rust, Daniel Axtens, 2021/08/24
- Re: [RFC PATCH 0/7] Support writing grub modules in Rust, Heinrich Schuchardt, 2021/08/25