Преглед изворни кода

feat: Update Cargo.toml to optimise binaries for size

(exa PR) 1160: Update Cargo.toml to optimise binaries for size
Merge pull request #23 from cafkafk/pr-1160
Christina Sørensen пре 2 година
родитељ
комит
5ab9e4f5bf
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      Cargo.toml

+ 2 - 0
Cargo.toml

@@ -63,6 +63,8 @@ debug = false
 # use LTO for smaller binaries (that take longer to build)
 [profile.release]
 lto = true
+strip = true
+opt-level = "s"
 
 
 [package.metadata.deb]