Skip to content

Commit 6f24934

Browse files
authored
Changed debug to minimal for python wheel. (#312)
Currently at O3 + minimal debug info; changing to Os + lto drops to 35mb.
1 parent 50fde9b commit 6f24934

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hf_xet/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,10 @@ openssl_vendored = ["data/openssl_vendored"]
5656
profiling = ["pprof"]
5757

5858
[profile.release]
59-
debug = true
59+
debug = "line-tables-only"
6060
opt-level = 3
61+
62+
# Uncomment the below for lto + Os
63+
# opt-level = "s"
64+
# lto = true
65+

0 commit comments

Comments
 (0)