1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-22 02:42:33 +01:00

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" inherits = "release"
strip = "symbols" strip = "symbols"
lto = "thin" lto = "thin"
codegen-units = 1 codegen-units = 16
# Linting config # Linting config
[lints.rust] [lints.rust]