diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 1ad5e77..b59669d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,6 +17,10 @@ use charset::Charset; use datafiles::*; use format::*; +#[global_allocator] +static ALLOCATOR: cap::Cap<std::alloc::System> = + cap::Cap::new(std::alloc::System, usize::max_value()); + #[derive(Debug, StructOpt)] #[structopt(name = "datagengo", about = "Japanese example practice maker")] struct Opt { |