Log binary size in release.sh to help debug bloat
authorBernie Innocenti <codewiz@google.com>
Thu, 24 Jan 2019 22:58:57 +0000 (11:58 +1300)
committerBernie Innocenti <codewiz@google.com>
Thu, 24 Jan 2019 22:58:57 +0000 (11:58 +1300)
release.sh

index c2a58833d885e65a5ec817f535d7cf9942fad9ec..f52178ce325de5d67ffe8cd8d4014156e80ad744 100755 (executable)
@@ -1,4 +1,14 @@
 set -e
 cargo build --release --no-default-features
 strip target/release/mandelwow
+
+(
+       echo "---------------------------------"
+       date
+       git branch -v
+       rustc --version
+       ls -la target/release/mandelwow
+       size --format=sysv target/release/mandelwow
+) | tee -a size.log
+
 upx -9 target/release/mandelwow