mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Use zalloc for processor/message-queue/coordinator
An additional layer which protects us against edge cases with Zeroizing (objects which don't support it or don't miss it).
This commit is contained in:
@@ -61,6 +61,10 @@ use multisigs::{MultisigEvent, MultisigManager};
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
#[global_allocator]
|
||||
static ALLOCATOR: zalloc::ZeroizingAlloc<std::alloc::System> =
|
||||
zalloc::ZeroizingAlloc(std::alloc::System);
|
||||
|
||||
// Items which are mutably borrowed by Tributary.
|
||||
// Any exceptions to this have to be carefully monitored in order to ensure consistency isn't
|
||||
// violated.
|
||||
|
||||
Reference in New Issue
Block a user