Remove wee_alloc
This commit is contained in:
parent
909e15572e
commit
9010a47420
|
@ -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" }
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue