diff --git a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs index 5ddca003120..067367b9fc5 100644 --- a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs +++ b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs @@ -18,10 +18,6 @@ use std::path::PathBuf; use std::thread; use wasm_bindgen_cli_support::Bindgen; -// no need for jemalloc bloat in this binary (and we don't need speed) -#[global_allocator] -static ALLOC: std::alloc::System = std::alloc::System; - mod deno; mod headless; mod node; diff --git a/crates/cli/src/bin/wasm-bindgen.rs b/crates/cli/src/bin/wasm-bindgen.rs index f6e16a4fb8e..e5542af5e27 100644 --- a/crates/cli/src/bin/wasm-bindgen.rs +++ b/crates/cli/src/bin/wasm-bindgen.rs @@ -5,10 +5,6 @@ use std::path::PathBuf; use std::process; use wasm_bindgen_cli_support::{Bindgen, EncodeInto}; -// no need for jemalloc bloat in this binary (and we don't need speed) -#[global_allocator] -static ALLOC: std::alloc::System = std::alloc::System; - const USAGE: &'static str = " Generating JS bindings for a wasm file diff --git a/crates/cli/src/bin/wasm2es6js.rs b/crates/cli/src/bin/wasm2es6js.rs index caa35cf122b..3893858dfc3 100644 --- a/crates/cli/src/bin/wasm2es6js.rs +++ b/crates/cli/src/bin/wasm2es6js.rs @@ -4,10 +4,6 @@ use serde::Deserialize; use std::fs; use std::path::PathBuf; -// no need for jemalloc bloat in this binary (and we don't need speed) -#[global_allocator] -static ALLOC: std::alloc::System = std::alloc::System; - const USAGE: &'static str = " Converts a wasm file to an ES6 JS module