Skip to content

Commit

Permalink
Merge #1781
Browse files Browse the repository at this point in the history
1781: Optimize build size r=irevoire a=MarinPostma

Remove debug symbols from the release build, and strip the binaries.

We used to need to debug symbols for sentry, but since it was removed with #1616, we don't need them anymore.

Shrinks the binary size from ~300MB to ~50MB on linux.

Co-authored-by: mpostma <postma.marin@protonmail.com>
  • Loading branch information
bors[bot] and MarinPostma committed Oct 7, 2021
2 parents 02dd1ea + 14c6ae4 commit 602a327
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ members = [
]
resolver = "2"

[profile.release]
debug = true

[patch.crates-io]
pest = { git = "https://github.com/pest-parser/pest.git", rev = "51fd1d49f1041f7839975664ef71fe15c7dcaf67" }

0 comments on commit 602a327

Please sign in to comment.