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.
This commit is contained in:
bunnie 2023-01-02 17:50:47 +08:00
parent be2298e4eb
commit 79be209790

View file

@ -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