Skip to content

Commit

Permalink
remove wee_alloc, use standard allocator
Browse files Browse the repository at this point in the history
ref: #60
  • Loading branch information
ahdinosaur committed Sep 21, 2023
1 parent b5569d9 commit 2b5553c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion play/wasm/Cargo.toml
Expand Up @@ -20,7 +20,6 @@ serde-wasm-bindgen = "0.5.0"
serde_yaml = "0.9.25"
toml = "0.7.6"
wasm-bindgen = "0.2.84"
wee_alloc = "0.4.5"

[dev-dependencies]
wasm-bindgen-test = "0.3.34"
3 changes: 0 additions & 3 deletions play/wasm/src/lib.rs
Expand Up @@ -3,9 +3,6 @@ use serde::Serialize;
use serde_wasm_bindgen::{Error as SerdeWasmError, Serializer as WasmSerializer};
use wasm_bindgen::prelude::*;

#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen]
pub fn init() {
// When the `console_error_panic_hook` feature is enabled, we can call the
Expand Down

1 comment on commit 2b5553c

@vercel
Copy link

@vercel vercel bot commented on 2b5553c Sep 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.