diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2023-11-26 10:17:03 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2023-11-26 10:17:03 +1300 |
commit | cbc6f89f34abab7e749e9382333ea0b0f82a06dc (patch) | |
tree | c66663267e3fefb0376c83af114075f06a5db6ca /Cargo.toml | |
parent | afa81e9ae6a56efe2eae2990e09c672b74328715 (diff) | |
download | bedrock-asm-cbc6f89f34abab7e749e9382333ea0b0f82a06dc.zip |
Shrink and strip compiled binary in release mode
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,3 +6,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] + +[profile.release] +lto=true +opt-level="s" +debug=false +strip=true +codegen-units=1 |