From dfefb4c63f02c1d3362a1a58a504b612ab63c9b2 Mon Sep 17 00:00:00 2001 From: xxchan Date: Wed, 14 Jun 2023 21:47:59 +0000 Subject: [PATCH] build: use debug=1 back for release --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 573b3217ec4d8..8580af3422e66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,7 +78,7 @@ hashbrown = { version = "0.13.2", features = ["ahash", "inline-more", "nightly"] lto = 'off' [profile.release] -debug = "line-tables-only" +debug = 1 lto = 'thin' # The profile used for CI in main branch. @@ -86,6 +86,8 @@ lto = 'thin' # better catch bugs in CI. [profile.ci-release] inherits = "release" +incremental = false +debug = "line-tables-only" debug-assertions = true overflow-checks = true