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 <d...@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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel