summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2021-03-20 12:47:38 +0000
committer David Srbecky <dsrbecky@google.com> 2021-03-20 20:31:29 +0000
commitb474fc0ad6542911fb1895bc715f8e88bdb7794f (patch)
tree7f86298f83603a25716af4912a7565a67d0dd50c /java/java.go
parentf2be52c4dcc2e3d743318e106633e61de0ad2afd (diff)
Remove .rustc ELF section from mini-debug-info.
The section is stripped from binaries (but preserved in /symbols). However, is it also unintentionally copied into the minidebuginfo compressed section, which is included in the final shipped binary. (This does not affect symtab symbols, which are handled as usual) Removing it from mini-debug-info shrinks some rust binaries by up to 10x, saving >10MB on the system partition overall (AOSP). Test: extract minidebuginfo and check it manually with readelf Change-Id: I462d81455626bb2b5244e1bf3d5f8b71646f3401
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions