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:
parent
b9bdc9b8e2
commit
bb2412d033
|
@ -197,7 +197,7 @@ panic = "abort"
|
|||
inherits = "release"
|
||||
strip = "symbols"
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
codegen-units = 16
|
||||
|
||||
# Linting config
|
||||
[lints.rust]
|
||||
|
|
Loading…
Reference in New Issue