From 73ec4c046ffa79c542430e7568ed4fb2f792fd23 Mon Sep 17 00:00:00 2001 From: dskvr Date: Sat, 14 Sep 2024 16:34:43 +0200 Subject: [PATCH] 4th time is the charm? --- Cargo.toml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5876c43..226b4ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,11 +7,10 @@ repository = "https://github.com/sandwichfarm/notemine" license = "GPL-3.0-only" [lib] -crate-type = ["cdylib"] -#name = "notemine" -#path = "src/lib.rs" - -#crate-type = ["cdylib", "rlib"] +#crate-type = ["cdylib"] +name = "notemine" +path = "src/lib.rs" +crate-type = ["cdylib", "rlib"] [dependencies] serde = { version = "1.0", features = ["derive"] } @@ -24,7 +23,7 @@ web-sys = { version = "0.3", features = ["console"] } serde-wasm-bindgen = "0.6" # Added serde-wasm-bindgen console_error_panic_hook = "0.1.6" # Added for better error reporting -[profile.release] -opt-level = "z" -lto = true -codegen-units = 1 +#[profile.release] +#opt-level = "z" +#lto = true +#codegen-units = 1