Change the codegen-units for low resources (#4336)

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.
This commit is contained in:
Mathijs van Veluw 2024-02-10 13:04:08 +01:00 committed by GitHub
parent b9bdc9b8e2
commit bb2412d033
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,7 @@ panic = "abort"
inherits = "release"
strip = "symbols"
lto = "thin"
codegen-units = 1
codegen-units = 16
# Linting config
[lints.rust]