From 2b7390c2a13a62ee530b965890a33d647beb4ba5 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Tue, 17 Aug 2021 08:45:39 +1200 Subject: [PATCH] Switch back to building for size (#3924) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 89e8a31110..2b2abd82bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -150,6 +150,9 @@ dataframe = [ "nu_plugin_to_bson/dataframe", ] +[profile.release] +opt-level = "z" # Optimize for size. + # Core plugins that ship with `cargo install nu` by default # Currently, Cargo limits us to installing only one binary # unless we use [[bin]], so we use this as a workaround