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:
parent
4756441064
commit
da9f1b84f7
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue