mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Move legacy layout behind a feature flag (#32759)
* Move legacy layout behind a feature flag For now the new feature flag would still be enabled by default, but disabling the `layout_2013` feature, gives the following binary size improvements for servoshell on Linux: - in debug mode from 1278MB -> 1201 MB - in release mode from 144MB -> 140MB - in production mode from 108MB -> 106MB Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> * Update components/servo/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> --------- Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
4907e89656
commit
496ce717c5
4 changed files with 30 additions and 16 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -3619,6 +3619,7 @@ dependencies = [
|
|||
"bluetooth_traits",
|
||||
"canvas",
|
||||
"canvas_traits",
|
||||
"cfg-if",
|
||||
"compositing",
|
||||
"compositing_traits",
|
||||
"constellation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue