This reduces binary size from 2.4 MiB to 1.7 MiB. --- a/Cargo.toml +++ b/Cargo.toml @@ -76,6 +76,8 @@ test-case = "1.2" [profile.release] lto = true codegen-units = 1 +opt-level = "z" +panic = "abort"