Skip to content

Commit

Permalink
switch wasm32 to lol_alloc
Browse files Browse the repository at this point in the history
wee_alloc leaks and is unmaintained

lol_alloc seems to be ok. talc is another alt, but more complex

see rustwasm/wee_alloc#107
  • Loading branch information
DougAnderson444 committed Jan 12, 2025
1 parent 6ee8924 commit 861b4cb
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 60 deletions.
110 changes: 52 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ js_wasm_runtime_layer = "0.4.0"
anyhow = "1.0"
send_wrapper = { version = "0.6.0", features = ["futures"] }
web-time = "1.1.0"
wee_alloc = "0.4.5"
lol_alloc = "0.4.1"

[build-dependencies]
wasmparser = "0.221"
Expand Down
Loading

0 comments on commit 861b4cb

Please sign in to comment.