We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2adda87 commit 98acc75Copy full SHA for 98acc75
swc/Cargo.toml
@@ -6,10 +6,13 @@ edition = "2021"
6
[lib]
7
crate-type = ["cdylib"]
8
9
-# [profile.release]
10
-codegen-units = 1
11
-lto = true
12
-opt-level = "s"
+[profile.release]
+# Uncomment to achieve smallest possible binary size (may require more experimentation).
+# Disclaimer: measure effects on runtime, results can be surprising.
+# strip = "debuginfo"
13
+# codegen-units = 1
14
+# lto = true
15
+# opt-level = "z"
16
17
[dependencies]
18
anyhow = "1.0.53"
0 commit comments