diff --git a/.cargo/config.toml b/.cargo/config.toml index 865dedb..06d0366 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,3 @@ [target.wasm32-unknown-unknown] rustflags = ["-C", "linker-plugin-lto=yes", "-C", "inline-threshold=275"] + diff --git a/Cargo.toml b/Cargo.toml index aa7a965..a3c4938 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,9 @@ codegen-units = 1 opt-level = "z" #optimize for size lto = "fat" strip = true +panic = "abort" +overflow-checks = false +debug-assertions = false [profile.dev] debug = true