diff options
| -rw-r--r-- | swaystatus/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swaystatus/src/main.rs b/swaystatus/src/main.rs index 87608a9..664df52 100644 --- a/swaystatus/src/main.rs +++ b/swaystatus/src/main.rs @@ -9,11 +9,13 @@ extern crate gettextrs; use gettextrs::*; use crossbeam_utils::thread; use std::sync::mpsc; -use dirs; #[cfg(test)] pub mod test_plugin; +#[global_allocator] +static GLOBAL : std::alloc::System = std::alloc::System; + fn main() { let text_domain = match dirs::data_dir() { Some (p) => TextDomain::new("swaystatus").prepend("target").push(p), |
