From 493563b7cc50868df1f101d39534fdec0f4e7a17 Mon Sep 17 00:00:00 2001 From: Jared Roberts Date: Thu, 3 Nov 2016 15:29:45 -0700 Subject: [PATCH] lto/no-unwind in release builds --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index fef9553..f545e11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,3 +20,7 @@ openvr = { git = "https://github.com/rust-openvr/rust-openvr" } openvr_sys = "*" piston = "*" piston_window = "*" + +[profile.release] +lto = true +panic = "abort"