Strip symbols from the produced binary.

This reduces the filesize at no cost, since backtraces are disabled with panic=abort
This commit is contained in:
Magnus Hoff 2017-10-15 13:13:07 +02:00
parent 4756441064
commit da9f1b84f7

View file

@ -16,6 +16,7 @@ script:
- rustup target add x86_64-unknown-linux-musl
- cargo build --release --target=x86_64-unknown-linux-musl
- cargo test --release --target=x86_64-unknown-linux-musl
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
- xz -9 < target/x86_64-unknown-linux-musl/release/sausagewiki > sausagewiki.xz
deploy: