From a3aa532ac206635c1ebe0dfdc3b8b142ffe6ffa8 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Thu, 21 May 2020 15:41:53 -0300 Subject: [PATCH] chore(example) add release flags --- tauri/examples/communication/src-tauri/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tauri/examples/communication/src-tauri/Cargo.toml b/tauri/examples/communication/src-tauri/Cargo.toml index c078aba34..1ed638755 100644 --- a/tauri/examples/communication/src-tauri/Cargo.toml +++ b/tauri/examples/communication/src-tauri/Cargo.toml @@ -36,3 +36,10 @@ no-server = [ "tauri/no-server" ] [[bin]] name = "app" path = "src/main.rs" + +[profile.release] +panic = "abort" +codegen-units = 1 +lto = true +incremental = false +opt-level = "z"