Skip to content

Commit

Permalink
feat: reduce executable size
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Apr 25, 2024
1 parent 68d410e commit fb1b080
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ expectest = "0.12.0"
test-log = "0.2.14"
env_logger = "0.10.1"

# [profile.release]
# strip = true
# opt-level = "z"
# codegen-units = 1
# lto = true
[profile.release]
strip = true
opt-level = "z"
codegen-units = 1
lto = true

# References
# https://doc.rust-lang.org/stable/rustc/codegen-options/
Expand Down
10 changes: 5 additions & 5 deletions plugins/csv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ itertools = "0.12.0"
[build-dependencies]
tonic-build = "0.10.2"

# [profile.release]
# strip = true
# opt-level = "z"
# codegen-units = 1
# lto = true
[profile.release]
strip = true
opt-level = "z"
codegen-units = 1
lto = true

# References
# https://doc.rust-lang.org/stable/rustc/codegen-options/
Expand Down

0 comments on commit fb1b080

Please sign in to comment.