another attempt of optimization (changed nothing)
This commit is contained in:
parent
6851fae012
commit
381c646172
2 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ clone () {
|
||||||
# optimizations
|
# optimizations
|
||||||
set_cflags () {
|
set_cflags () {
|
||||||
export \
|
export \
|
||||||
CFLAGS="-O3" CPPFLAGS="-O3" LDFLAGS="-Wl,-O3 -Wl,-S" \
|
CFLAGS="-Ofast" CPPFLAGS="-Ofast" LDFLAGS="-Wl,-O3 -Wl,-S" \
|
||||||
RUSTFLAGS="-C target-cpu=native"
|
RUSTFLAGS="-C target-cpu=native"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,8 @@ cargo build \
|
||||||
--bin resolve \
|
--bin resolve \
|
||||||
--features dnssec-ring \
|
--features dnssec-ring \
|
||||||
--config 'panic="abort"' \
|
--config 'panic="abort"' \
|
||||||
--config 'lto="fat"'
|
--config 'lto="fat"' \
|
||||||
|
--config 'codegen-units=1'
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo '==> Done'
|
echo '==> Done'
|
||||||
|
|
Loading…
Add table
Reference in a new issue