Skip to content

Commit

Permalink
Stop using weealloc because of rustwasm/wee_alloc#106
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricedesre committed Aug 30, 2022
1 parent 2d13456 commit 0cb6e8c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 57 deletions.
53 changes: 0 additions & 53 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ default = []
[dependencies]
image = {version = "0.24", default-features = false}
quircs = "*"
wee_alloc = {version = "0.4.5"}
wit-bindgen-guest-rust = {git = "https://github.com/bytecodealliance/wit-bindgen.git"}

[profile.release]
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ wit_bindgen_guest_rust::export!("./qrdecoder_module.wit");

use console::Console;

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

pub struct QrdecoderModule;

impl qrdecoder_module::QrdecoderModule for QrdecoderModule {
Expand Down

0 comments on commit 0cb6e8c

Please sign in to comment.