chore: Use "limited" debug info

This one does not contain variable-level debug info; since we mostly rely on backtraces though, this should be fine. It also improves compile times a bunch for both incremental and clean scenarios.
This commit is contained in:
Piotr Osiewicz 2023-11-23 17:54:43 +01:00
parent 72a1ada0ae
commit 41b7acc1de

View File

@ -208,11 +208,12 @@ core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "07
[profile.dev] [profile.dev]
split-debuginfo = "unpacked" split-debuginfo = "unpacked"
debug = "limited"
[profile.dev.package.taffy] [profile.dev.package.taffy]
opt-level = 3 opt-level = 3
[profile.release] [profile.release]
debug = true debug = "limited"
lto = "thin" lto = "thin"
codegen-units = 1 codegen-units = 1