PLUS-POSTECH / soma

Cross-platform CTF problem container manager
Apache License 2.0
24 stars 3 forks source link

Additional optimizations in release builds #116

Closed KSAlpha closed 5 years ago

KSAlpha commented 5 years ago

This may be not necessary. However, we can take some actions to make the produced binary by release builds smaller and better.

See https://lifthrasiir.github.io/rustlog/why-is-a-rust-executable-large.html

Suggestion:

[profile.release]
lto = true
# panic = 'abort' (maybe)