build: Use thin LTO for release builds
Fat LTO makes the debug symbols unusable due to a bug in rustc: https://github.com/rust-lang/rust/issues/66118.
This commit is contained in:
parent
123ac8661b
commit
d92d2953ff
|
@ -7,7 +7,7 @@ rust-version = "1.65"
|
|||
|
||||
[profile.release]
|
||||
debug = true
|
||||
lto = true
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
|
||||
[profile.dev.package."*"]
|
||||
|
|
Loading…
Reference in New Issue