Always use lto="fat"

This commit is contained in:
Frank Denis 2019-11-18 15:08:39 +01:00
parent cb31469004
commit 57d4c6de9f
2 changed files with 1 additions and 2 deletions

View file

@ -19,7 +19,6 @@ jobs:
run: cargo install --debug cargo-deb
- name: Build
run: |
echo 'lto = "fat"' >> Cargo.toml
env RUSTFLAGS="-C link-arg=-s" cargo build --release
mkdir doh-proxy
mv target/release/doh-proxy doh-proxy/

View file

@ -41,6 +41,6 @@ priority = "optional"
[profile.release]
codegen-units = 1
incremental = false
lto = true
lto = "fat"
opt-level = 3
panic = "abort"