Skip to content

Commit 0b40ade

Browse files
authored
Applying Cargo.toml optimization options (#201)
1 parent 2d1776f commit 0b40ade

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ hf-hub = { git = "https://github.com/huggingface/hf-hub", rev = "b167f69692be5f4
2828
[profile.release]
2929
debug = 0
3030
incremental = true
31-
lto = "off"
31+
lto = "fat"
32+
opt-level = 3
33+
codegen-units = 1
34+
strip = "symbols"
3235
panic = "abort"

0 commit comments

Comments
 (0)