Skip to content

Commit 9f9fbbf

Browse files
committed
chore(wasm): Remove deprecated wee_alloc.
1 parent 62ab625 commit 9f9fbbf

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

bindings/wasm/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
- Unpin `parking_lot_core`.
8+
- Remove deprecated `wee_alloc`.
89

910
## [0.8.1] - 2022-07-21
1011

bindings/wasm/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ serde = { version = "1.0.145", features = ["derive"], default-features = false }
1919
serde_json = "1.0.85"
2020
url = "2.3.1"
2121
wasm-bindgen = { version = "0.2.83", features = ["serde-serialize"] }
22-
wee_alloc = "0.4"
2322

2423
[dependencies.css-inline]
2524
path = "../../css-inline"

bindings/wasm/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ use std::{
3131
};
3232
use wasm_bindgen::prelude::*;
3333

34-
#[global_allocator]
35-
static ALLOC: wee_alloc::WeeAlloc<'_> = wee_alloc::WeeAlloc::INIT;
36-
3734
struct InlineErrorWrapper(rust_inline::InlineError);
3835

3936
impl From<InlineErrorWrapper> for JsValue {

0 commit comments

Comments
 (0)