From 493a0e377dd39c780dbcce3bd38dde90360659a3 Mon Sep 17 00:00:00 2001 From: mpostma Date: Thu, 7 Oct 2021 11:49:52 +0200 Subject: [PATCH] optimize build size --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 44732839f..accea6de0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,8 +6,8 @@ members = [ ] resolver = "2" -[profile.release] -debug = true +[build] +rustflags = "-C link-args=-s" [patch.crates-io] pest = { git = "https://github.com/pest-parser/pest.git", rev = "51fd1d49f1041f7839975664ef71fe15c7dcaf67" }