mirror of
https://github.com/sadoyan/aralez.git
synced 2026-10-23 06:01:35 +08:00
15 lines
351 B
Rust
15 lines
351 B
Rust
use aralez::core;
|
|
|
|
#[global_allocator]
|
|
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|
// pub static A: CountingAllocator = CountingAllocator;
|
|
|
|
fn main() {
|
|
if std::env::args().any(|a| a == "--version" || a == "-v") {
|
|
println!("aralez {}", env!("CARGO_PKG_VERSION"));
|
|
std::process::exit(0);
|
|
}
|
|
|
|
core::start::run();
|
|
}
|