diff --git a/Cargo.toml b/Cargo.toml index 4c1da5b27..2b529ff4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,7 +123,7 @@ strip = false lto = "fat" incremental = true #panic = "abort" # Remove panic output, which can reduce file size -#opt-level = 1 # z,s: Optimize for size instead of performance; 1 for easier debugging +opt-level = "s" # z,s: Optimize for size instead of performance; 1 for easier debugging; comment out for "best performance" (but in Rust 1.72 this causes regressions) # prefer hardware-accelerated versions of services [patch.crates-io.sha2]