Skip to content

Commit da9caf0

Browse files
authored
Add flags to optimize binary size (#23483)
1 parent 2fe49ea commit da9caf0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

native_locator/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ regex = "1.10.4"
1414
log = "0.4.21"
1515
env_logger = "0.10.2"
1616

17-
1817
[lib]
1918
doctest = false
19+
20+
[profile.release]
21+
strip = true
22+
lto = true
23+
codegen-units = 1

0 commit comments

Comments
 (0)