From 3516a16ad8f40e7d1967990064ddfc232112beab Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 20 Jul 2020 07:05:49 -0700 Subject: [PATCH] std: Test not emitting debuginfo for backtrace deps This is an attempt to see if this affects the regression from #73441 where most of the regression appears to be in the linker, and the linker does certainly spend a lot of time in debuginfo. --- Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4270cabec15c7..f0e901aab6cee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,6 +55,17 @@ overflow-checks = false # per-crate configuration isn't specifiable in the environment. codegen-units = 10000 +[profile.release.package.miniz_oxide] +debug = 0 +[profile.release.package.gimli] +debug = 0 +[profile.release.package.addr2line] +debug = 0 +[profile.release.package.object] +debug = 0 +[profile.release.package.adler] +debug = 0 + # We want the RLS to use the version of Cargo that we've got vendored in this # repository to ensure that the same exact version of Cargo is used by both the # RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository