From 4eab8a35b58f55920ab5e2d6073bb3b140b62c4a Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 25 Mar 2024 08:08:06 +0800 Subject: [PATCH] don't try to release hardware in hosted mode --- services/root-keys/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/root-keys/src/main.rs b/services/root-keys/src/main.rs index f8826ff47..939e7c50d 100644 --- a/services/root-keys/src/main.rs +++ b/services/root-keys/src/main.rs @@ -2383,6 +2383,7 @@ fn main() -> ! { } } // de-allocate the engine at the end of root-keys, so other crates can use it. + #[cfg(target_os = "xous")] curve25519_dalek::backend::serial::u32e::free_engine(); } // clean up our program