Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
+[[package]]
+name = "memory_units"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3"
+
[[package]]
name = "mime"
version = "0.2.6"
"js-sys",
"otter-zcoord",
"wasm-bindgen",
+ "wee_alloc",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307"
+[[package]]
+name = "wee_alloc"
+version = "0.4.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "memory_units",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "winapi"
version = "0.2.8"
wasm-bindgen = "0.2"
js-sys = "0.3"
fehler = "1"
+wee_alloc = "0.4"
+#wee_alloc = { version = "0.4.5", optional = true }
// https://github.com/WebAssembly/binaryen/issues/3006
format!("WASM {}", s).into()
}
+
+//#[cfg(feature = "wee_alloc")]
+#[global_allocator]
+static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;