From 79be209790518d13541e5d0e3c8ec0eedbb00ff7 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 2 Jan 2023 17:50:47 +0800 Subject: [PATCH] restore "fat" lto as we have worked-around for #285 this was done by eliminating the use of the `cos()` function in the Xous code base, which triggers the link time optimiztaion bug. The code is also smaller, too boot. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 918ddef37..a49ff184f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,7 +110,7 @@ exclude = [ codegen-units = 1 # 1 better optimizations debug = false strip = true -lto = "thin" +lto = "fat" incremental = true #panic = "abort" # Remove panic output, which can reduce file size #opt-level = 1 # z,s: Optimize for size instead of performance; 1 for easier debugging