aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index c2dccb0..0153b04 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -20,6 +20,8 @@ mod xml;
#[macro_use] extern crate log;
+use std::alloc::System;
+
use {
// dotenv::var,
pickledb::PickleDb,
@@ -27,6 +29,9 @@ use {
tokio::time::Instant,
};
+#[global_allocator]
+static A: System = System;
+
const ERROR_HANDLER_RESPONSE: &str =
"The requested resource could not be found at this time. You can try \
refreshing the page, if that doesn't change anything; contact Fuwn! \