diff --git a/Cargo.toml b/Cargo.toml index f9f8398c6d..1fff079f5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,3 +3,12 @@ members = [ "Libraries/LibJS/Rust", ] resolver = "2" + +[profile.release] +panic = "abort" + +[profile.distribution] +inherits = "release" +incremental = false +codegen-units = 1 +lto = true