enable tail merge
This commit is contained in:
parent
18ef7450f3
commit
77967d669a
7 changed files with 7 additions and 2 deletions
|
@ -208,6 +208,7 @@ config("compiler") {
|
|||
# String tail merging leads to smaller binaries, but they don't compress
|
||||
# as well, leading to increased mini_installer size (crbug.com/838449).
|
||||
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
|
||||
ldflags += [ "/OPT:LLDTAILMERGE" ]
|
||||
}
|
||||
|
||||
# TODO(siggi): Is this of any use anymore?
|
||||
|
|
|
@ -906,7 +906,7 @@ config("compiler") {
|
|||
"-Zremap-cwd-prefix=.",
|
||||
|
||||
# Full RUSTC optimizations.
|
||||
"-Copt-level=3", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul",
|
||||
"-Copt-level=3", "-Ctune-cpu=haswell", "-Ctarget-feature=+aes,+avx,+avx2,-pclmul",
|
||||
]
|
||||
if (rust_abi_target != "") {
|
||||
rustflags += [ "--target=$rust_abi_target" ]
|
||||
|
|
|
@ -215,6 +215,7 @@ config("compiler") {
|
|||
# String tail merging leads to smaller binaries, but they don't compress
|
||||
# as well, leading to increased mini_installer size (crbug.com/838449).
|
||||
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
|
||||
ldflags += [ "/OPT:LLDTAILMERGE" ]
|
||||
}
|
||||
|
||||
# TODO(siggi): Is this of any use anymore?
|
||||
|
|
|
@ -204,6 +204,7 @@ config("compiler") {
|
|||
# String tail merging leads to smaller binaries, but they don't compress
|
||||
# as well, leading to increased mini_installer size (crbug.com/838449).
|
||||
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
|
||||
ldflags += [ "/OPT:LLDTAILMERGE" ]
|
||||
}
|
||||
|
||||
# TODO(siggi): Is this of any use anymore?
|
||||
|
|
|
@ -205,6 +205,7 @@ config("compiler") {
|
|||
# String tail merging leads to smaller binaries, but they don't compress
|
||||
# as well, leading to increased mini_installer size (crbug.com/838449).
|
||||
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
|
||||
ldflags += [ "/OPT:LLDTAILMERGE" ]
|
||||
}
|
||||
|
||||
# TODO(siggi): Is this of any use anymore?
|
||||
|
|
|
@ -208,6 +208,7 @@ config("compiler") {
|
|||
# String tail merging leads to smaller binaries, but they don't compress
|
||||
# as well, leading to increased mini_installer size (crbug.com/838449).
|
||||
# ldflags += [ "/OPT:NOLLDTAILMERGE" ]
|
||||
ldflags += [ "/OPT:LLDTAILMERGE" ]
|
||||
}
|
||||
|
||||
# TODO(siggi): Is this of any use anymore?
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
# Copyright 2023 The Chromium Authors and Alex313031
|
||||
# Copyright 2023 The Chromium Authors, Alex313031 and gz83
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
|
Loading…
Reference in a new issue