mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
use auto-release of accelerator hardware
This commit is contained in:
parent
6d8c60f98c
commit
05a7c4ca7e
2 changed files with 2 additions and 4 deletions
|
|
@ -71,8 +71,9 @@ byteorder = "1.4.3" # used by keywrap
|
||||||
hex = { version = "0.4.3", default-features = false, features = [] }
|
hex = { version = "0.4.3", default-features = false, features = [] }
|
||||||
|
|
||||||
[dependencies.curve25519-dalek]
|
[dependencies.curve25519-dalek]
|
||||||
version = "=4.1.2" # note this is patched to our fork in ./Cargo.toml
|
version = "=4.1.2" # note this is patched to our fork in ./Cargo.toml
|
||||||
default-features = false
|
default-features = false
|
||||||
|
features = ["auto-release", "warn-fallback"]
|
||||||
|
|
||||||
[dependencies.ed25519-dalek]
|
[dependencies.ed25519-dalek]
|
||||||
version = "2.1.0"
|
version = "2.1.0"
|
||||||
|
|
|
||||||
|
|
@ -2382,9 +2382,6 @@ fn main() -> ! {
|
||||||
log::error!("couldn't convert opcode");
|
log::error!("couldn't convert opcode");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 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
|
// clean up our program
|
||||||
log::trace!("main loop exit, destroying servers");
|
log::trace!("main loop exit, destroying servers");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue