11 lines
298 B
Rust
11 lines
298 B
Rust
#[cfg(feature = "jemalloc")]
|
|
use tikv_jemallocator::Jemalloc;
|
|
|
|
#[cfg(feature = "jemalloc")]
|
|
#[global_allocator]
|
|
static GLOBAL: Jemalloc = Jemalloc;
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let _ = jxl_oxide::integration::register_image_decoding_hook();
|
|
cosmic_files::main()
|
|
}
|