Skip to content

Commit 7092650

Browse files
Added [profile.release] options to Cargo.toml
1 parent 729e58f commit 7092650

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ categories = ["command-line-utilities", "science"]
1717
dht22_pi = { git = "https://github.com/marcoradocchia/dht22_pi" }
1818
clap = { version = "3.2.8", features = ["derive"] }
1919
chrono = { version = "0.4.19" }
20+
21+
[profile.release]
22+
lto = true # link-time-optimization
23+
strip = true # strip symbols from binary

0 commit comments

Comments
 (0)