aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpushadermodule.rs
diff options
context:
space:
mode:
authorJonathan Schwender <55576758+jschwe@users.noreply.github.com>2024-07-02 15:05:24 +0200
committerGitHub <noreply@github.com>2024-07-02 13:05:24 +0000
commitbd0a5eb4b7df0c9ce731277a97cdb21cfdbdb9fb (patch)
tree7878791f86663d3509a76aa220f6540da37fd0d1 /components/script/dom/gpushadermodule.rs
parent7b324074b5ecd89ad8b15dfbe51787751d5cd3e9 (diff)
downloadservo-bd0a5eb4b7df0c9ce731277a97cdb21cfdbdb9fb.tar.gz
servo-bd0a5eb4b7df0c9ce731277a97cdb21cfdbdb9fb.zip
Add production-stripped cargo profile (#32651)
* Add production-stripped cargo profile Stripping the binary significantly reduces the size significantly (in my tests to about 1/3 of the original size). Enabling lto and setting `codegen-units = 1` allows further size optimizations at the cost of increased compile-time. Probably not everyone wants a stripped binary, since it makes backtraces less useful. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Move lto and cgu option to production profile Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> --------- Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Diffstat (limited to 'components/script/dom/gpushadermodule.rs')
0 files changed, 0 insertions, 0 deletions