Commit 0c5523f
authored
BUILD: strip for release build (tensorflow#6765)
## Motivation for features / changes
Potential improvement to the build: reduce the binary size by ~5Mb
## Technical description of changes
Run `strip` on release build so that [whatever strip does to the binary]
is not shipped in the production build.
## Screenshots of UI changes (or N/A)
## Detailed steps to verify changes work correctly (as executed by you)
Run `cargo build --release`, with and without the change, to observe the
binary size (as tested on M1 Mac) reducing from 14Mb to 9.5Mb
## Alternate designs / implementations considered (or N/A)1 parent c60a926 commit 0c5523f
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
0 commit comments