From bb2412d0339e1da5dee99fc566a2b2aab5d2808c Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Sat, 10 Feb 2024 13:04:08 +0100 Subject: [PATCH] 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]