aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nitrocli/src/main.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/nitrocli/src/main.rs b/nitrocli/src/main.rs
index 5cb3faf..ffc2744 100644
--- a/nitrocli/src/main.rs
+++ b/nitrocli/src/main.rs
@@ -79,7 +79,6 @@ mod pinentry;
#[cfg(test)]
mod tests;
-use std::alloc;
use std::env;
use std::ffi;
use std::io;
@@ -88,13 +87,6 @@ use std::result;
use crate::error::Error;
-// Switch from the default allocator (typically jemalloc) to the system
-// allocator (malloc based on Unix systems). Our application is by no
-// means allocation intensive and the default allocator is typically
-// much larger in size, causing binary bloat.
-#[global_allocator]
-static A: alloc::System = alloc::System;
-
type Result<T> = result::Result<T, Error>;
const NITROCLI_ADMIN_PIN: &str = "NITROCLI_ADMIN_PIN";