Remove wee_alloc

This commit is contained in:
Magnus Ulimoen 2023-01-18 19:15:53 +01:00
parent 909e15572e
commit 9010a47420
2 changed files with 0 additions and 5 deletions

View File

@ -10,7 +10,6 @@ crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2.81"
console_error_panic_hook = "0.1.7"
wee_alloc = "0.4.5"
sbp = { path = "../sbp", features = ["f32"] }
ndarray = "0.15.4"
euler = { path = "../euler" }

View File

@ -9,10 +9,6 @@ pub use crate::maxwell::MaxwellUniverse;
mod shallow_water;
pub use crate::shallow_water::ShallowWaterUniverse;
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
pub fn set_panic_hook() {
console_error_panic_hook::set_once();