diff --git a/Cargo.toml b/Cargo.toml index d00c8ca217..0a7a09efbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -122,8 +122,13 @@ testutils = { path = "lib/testutils" } [profile.dev.package."*"] codegen-units = 1 +debug = "line-tables-only" opt-level = 3 +[profile.dev] +debug = "line-tables-only" + [profile.release] +debug = "line-tables-only" strip = "debuginfo" codegen-units = 1