feat(solver-wasm): use wee_alloc to make wasm file smaller

This commit is contained in:
2025-07-06 20:48:36 +02:00
parent b1332183cc
commit 5cc99c7ec6
3 changed files with 55 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
extern crate wee_alloc;
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
use sha2::{Digest, Sha256};
use wasm_bindgen::prelude::*;