[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 7/7] arm64-efi: Support Rust
From: |
Daniel Axtens |
Subject: |
[RFC PATCH 7/7] arm64-efi: Support Rust |
Date: |
Tue, 24 Aug 2021 23:32:43 +1000 |
Only tested on qemu, not real hardware.
To get the rust toolchain:
rustup target add aarch64-unknown-linux-gnu --toolchain nightly
Signed-off-by: Daniel Axtens <dja@axtens.net>
---
grub-core/lib/rust/targets/arm64-efi.json | 27 +++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 grub-core/lib/rust/targets/arm64-efi.json
diff --git a/grub-core/lib/rust/targets/arm64-efi.json
b/grub-core/lib/rust/targets/arm64-efi.json
new file mode 100644
index 000000000000..8508ae3e3a31
--- /dev/null
+++ b/grub-core/lib/rust/targets/arm64-efi.json
@@ -0,0 +1,27 @@
+{
+ "arch": "aarch64",
+ "data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128",
+ "dynamic-linking": true,
+ "env": "gnu",
+ "llvm-target": "aarch64-unknown-linux-gnu",
+ "max-atomic-width": 128,
+ "os": "none",
+ "position-independent-executables": true,
+ "supported-sanitizers": [
+ "address",
+ "leak",
+ "memory",
+ "thread",
+ "hwaddress"
+ ],
+ "target-mcount": "\u0001_mcount",
+ "target-pointer-width": "64",
+ "features": "-fp,-neon",
+ "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, 2021/08/24
- [RFC PATCH 7/7] arm64-efi: Support Rust,
Daniel Axtens <=
- Re: [RFC PATCH 0/7] Support writing grub modules in Rust, Heinrich Schuchardt, 2021/08/25