This commit is contained in:
andreamah 2023-03-06 12:46:44 -08:00
Родитель 1079c97253
Коммит 222602bf0b
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -89,11 +89,11 @@ EOF
cat >> .cargo/config <<EOF
[profile.release]
debug = false
strip = true
lto = true
codegen-units = 1
[profile.release] # release flags https://doc.rust-lang.org/cargo/reference/profiles.html#release
debug = false # don't ship with debug builds
strip = true # removes debug symbols
lto = true # enables link time optimization
codegen-units = 1 # makes it link in a single progress, where it normally runs in multiple independent workers in parallel. Might make compilation a little slower
EOF
}