From 5ea0b8fafdd23527bffa949215d8f3728478773d Mon Sep 17 00:00:00 2001 From: BlackDex Date: Fri, 9 Feb 2024 23:52:09 +0100 Subject: [PATCH] Change the codegen-units for low resources 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]