mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-04 13:37:39 +03:00
Always use lto="fat"
This commit is contained in:
parent
cb31469004
commit
57d4c6de9f
2 changed files with 1 additions and 2 deletions
1
.github/workflows/rust.yml
vendored
1
.github/workflows/rust.yml
vendored
|
@ -19,7 +19,6 @@ jobs:
|
||||||
run: cargo install --debug cargo-deb
|
run: cargo install --debug cargo-deb
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
echo 'lto = "fat"' >> Cargo.toml
|
|
||||||
env RUSTFLAGS="-C link-arg=-s" cargo build --release
|
env RUSTFLAGS="-C link-arg=-s" cargo build --release
|
||||||
mkdir doh-proxy
|
mkdir doh-proxy
|
||||||
mv target/release/doh-proxy doh-proxy/
|
mv target/release/doh-proxy doh-proxy/
|
||||||
|
|
|
@ -41,6 +41,6 @@ priority = "optional"
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
incremental = false
|
incremental = false
|
||||||
lto = true
|
lto = "fat"
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue