summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2019-03-07 19:46:32 +0100
committerReiner Herrmann <reiner@reiner-h.de>2019-03-07 19:46:32 +0100
commit173c39698af9676ad1bde8d64fb4fb7e4133f2c5 (patch)
tree0c500d96e99a117f90a669d7196075b7c6c421a0
parentfc3e109eec72ceb46f19ef259cee6531f0f11e01 (diff)
Use LTO and abort-on-panic for release builds
-rw-r--r--Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4827339..68407bb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,6 +5,10 @@ authors = ["Reiner Herrmann <reiner@reiner-h.de>"]
edition = "2018"
license = "GPL-3.0-or-later"
+[profile.release]
+lto = true
+panic = 'abort'
+
[dependencies]
nix = "0.13.0"
getopts = "0.2.18"