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 Sep 25, 2024
1 parent 0974a41 commit 1aea692
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ 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]
codegen-units = 1
lto = false

0 comments on commit 1aea692

Please sign in to comment.