Skip to content

Commit 7c94524

Browse files
Madman10Kalehander92
authored andcommitted
cleanup(db-backend): removed depending on deprecated wee_alloc
1 parent 3fde4e3 commit 7c94524

File tree

3 files changed

+5
-33
lines changed

3 files changed

+5
-33
lines changed

src/db-backend/Cargo.lock

Lines changed: 5 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/db-backend/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ tree-sitter-traversal2 = "0.2.0"
2626
indexmap = "1.9.3"
2727
once_cell = "1.10.0"
2828

29-
wee_alloc = "0.4"
3029
console_error_panic_hook = { version = "0.1", optional = true }
3130
wasm-logger = { version = "0.2", optional = true }
3231

src/db-backend/src/c_compat.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use core::ffi::{c_char, c_int, c_void};
55
use core::mem::{align_of, size_of};
66
use core::ptr::null_mut;
77

8-
#[global_allocator]
9-
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
108

119
// Layout: [ usize: size ][ payload... ]
1210
const HEADER_ALIGN: usize = align_of::<usize>();

0 commit comments

Comments
 (0)