Switch back to building for size (#3924)

This commit is contained in:
JT 2021-08-17 08:45:39 +12:00 committed by GitHub
parent ab961a78cb
commit 2b7390c2a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,9 @@ dataframe = [
"nu_plugin_to_bson/dataframe", "nu_plugin_to_bson/dataframe",
] ]
[profile.release]
opt-level = "z" # Optimize for size.
# Core plugins that ship with `cargo install nu` by default # Core plugins that ship with `cargo install nu` by default
# Currently, Cargo limits us to installing only one binary # Currently, Cargo limits us to installing only one binary
# unless we use [[bin]], so we use this as a workaround # unless we use [[bin]], so we use this as a workaround