Skip to content

Commit d8790e1

Browse files
authored
chore(cargo): aim for faster runtime on release profile (#594)
1 parent 95477b9 commit d8790e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ rayon = "1.9.0"
1818
regex = "1.10.3"
1919
rustpython-ast = { version = "0.3.0", features = ["visitor"] }
2020
rustpython-parser = "0.3.0"
21+
22+
[profile.release]
23+
lto = true
24+
codegen-units = 1
25+
panic = "abort"

0 commit comments

Comments
 (0)