summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathijs van Veluw <[email protected]>2024-02-10 13:04:08 +0100
committerGitHub <[email protected]>2024-02-10 13:04:08 +0100
commitbb2412d0339e1da5dee99fc566a2b2aab5d2808c (patch)
treeaf5804cb4201a76eddb54078f36cebfad9472487
parentb9bdc9b8e227b556e6744c675a259b29d9e277db (diff)
downloadvaultwarden-bb2412d0339e1da5dee99fc566a2b2aab5d2808c.tar.gz
vaultwarden-bb2412d0339e1da5dee99fc566a2b2aab5d2808c.zip
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.
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5f07f1a7..93a6ef87 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -197,7 +197,7 @@ panic = "abort"
inherits = "release"
strip = "symbols"
lto = "thin"
-codegen-units = 1
+codegen-units = 16
# Linting config
[lints.rust]