summarylogtreecommitdiffstats
path: root/size-optimisations.patch
blob: 92f572061ecbf4c26466b50670a93cf1a9ad0888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Cargo.toml b/Cargo.toml
index af1bb24..e322372 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,3 +28,8 @@ flate2 = "1.0.16"
 futures-util = "0.3.14"
 tokio = { version = "0.2", default-features = false, features = ["full"] }
 which = "4.2.2"
+
+[profile.release]
+panic = 'abort'
+opt-level = 'z'
+lto = true