mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
Cargo.toml: strip symbols with the "chromeos" profile
ChromeOS binaries are stripped, so let's reflect this on the equivalent profile. BUG=None TEST=`cargo build --profile chromeos` yields a stripped binary. Change-Id: I0491e422f1ea6121aaeb6d08edaf9a9e42a9ee14 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3995886 Reviewed-by: Frederick Mayle <fmayle@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
a0dcf8ab13
commit
0bea1ffe17
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ panic = 'unwind'
|
|||
[profile.chromeos]
|
||||
inherits = "release"
|
||||
opt-level = "s"
|
||||
strip = "symbols"
|
||||
|
||||
# Enables LTO to further reduce the size of the binary.
|
||||
[profile.lto]
|
||||
|
|
Loading…
Reference in a new issue