From d4e8a131caf7cd484936ca8400077290579e09a1 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 11 Mar 2019 18:25:13 +0100 Subject: [PATCH] Cargo.toml: add release flags --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 139f9b5..3e96f7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,5 +34,8 @@ smoltcp = { version = "0.5.0", default-features = false, features = ["proto-ipv4 [profile.release] -debug = 2 +codegen-units = 1 +incremental = false +debug = true +opt-level = "s" lto = true