LibJS/Rust: Add aggressive optimisations for distribution
Enable fat LTO and other Rust optimisations, mirroring the C++ distribution target
This commit is contained in:
parent
ed26fdaa81
commit
cc751a25be
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue