From 84777e7d230921a2989dc0f083dda2607d776383 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 26 Sep 2025 22:57:56 +0800 Subject: [PATCH] select fiat-crypto for default backend on baremetal builds --- .cargo/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 58625288e..2fb070cbb 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -17,4 +17,7 @@ rustflags = ["--cfg", "crossbeam_no_atomic_64"] # ] [target.riscv32imac-unknown-xous-elf] -rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"'] \ No newline at end of file +rustflags = ["--cfg", 'curve25519_dalek_backend="u32e_backend"'] + +[target.riscv32imac-unknown-none-elf] +rustflags = ["--cfg", 'curve25519_dalek_backend="fiat"']