Skip to content

Commit

Permalink
Change the codegen-units for low resources (#4336)
Browse files Browse the repository at this point in the history
It seems (as disscusses here #4320) a single codegen unit makes it still
crash. This sets it to the default 16 Rust uses for the release profile.
  • Loading branch information
BlackDex authored Feb 10, 2024
1 parent b9bdc9b commit bb2412d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ panic = "abort"
inherits = "release"
strip = "symbols"
lto = "thin"
codegen-units = 1
codegen-units = 16

# Linting config
[lints.rust]
Expand Down

0 comments on commit bb2412d

Please sign in to comment.