From 173c39698af9676ad1bde8d64fb4fb7e4133f2c5 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Thu, 7 Mar 2019 19:46:32 +0100 Subject: Use LTO and abort-on-panic for release builds --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) 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 "] edition = "2018" license = "GPL-3.0-or-later" +[profile.release] +lto = true +panic = 'abort' + [dependencies] nix = "0.13.0" getopts = "0.2.18" -- cgit v1.2.3