Skip to content

Commit

Permalink
Make rust build deterministic
Browse files Browse the repository at this point in the history
See https://reproducible-builds.org/ for why this is good.
  • Loading branch information
bmwiedemann committed Oct 14, 2024
1 parent 0974a41 commit d76f464
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ members = [
"libcst",
"libcst_derive",
]

# needed for reproducible builds from some hard-to-grasp issue in rust or LLVM
# = https://github.com/rust-lang/rust/issues/128675
[profile.release]
lto = "off"

0 comments on commit d76f464

Please sign in to comment.