1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#![feature(allocator_api)] #![feature(global_allocator)] use rask_wasm_shared::{ alloc::{settings::Graphics, Allocator, Initial}, create_allocator, wee_alloc, }; create_allocator!( ALLOCATOR, wee_alloc::WeeAlloc<'static>, Graphics, wee_alloc::WeeAlloc::INIT ); mod context; mod entries; mod graphics; mod render; mod shader;