commit | 3ca82bc6bb1c21f577011496520e30cd6a1ee7df | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Apr 29 13:08:40 2021 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Thu May 06 10:47:33 2021 -0700 |
tree | 8747c2b6c85bb0c3cc23e00badf41efc17a0aada | |
parent | 925119edbed2d59e46d0f851ffda0d329802f614 [diff] |
keystore2: Statically link Rust libs to save RAM While dynamic linkage scales better, `keystore2` is the only process currently using dynamic Rust libraries in S. Given this, it makes more sense to statically link its dependencies to save RAM for now. This shaves about 4.1M RSS from a running `keystore2` at time of writing. Test: m, boot, showmap on keystore2 Bug: 186601681 Bug: 183785247 Change-Id: I0684a8959ab136432e6a932dddafe2a765ad0c8c