X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=8d6afd2b4483773173d0f0c142af563225b09edb;hb=6f915056a145628c9f31fefb842c35ec76e7d7bf;hp=ce7073886c20e95658065773511c7a05174d5274;hpb=b87a9a8a7c40484bc94515fd6d51e6e271ad4cb8;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index ce7073886c2..8d6afd2b448 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ members = [ "src/tools/jsondocck", "src/tools/html-checker", "src/tools/bump-stage0", + "src/tools/lld-wrapper", ] exclude = [ @@ -88,6 +89,15 @@ gimli.debug = 0 miniz_oxide.debug = 0 object.debug = 0 +# The only package that ever uses debug builds is bootstrap. +# We care a lot about bootstrap's compile times, so don't include debug info for +# dependencies, only bootstrap itself. +[profile.dev] +debug = 0 +[profile.dev.package] +# Only use debuginfo=1 to further reduce compile times. +bootstrap.debug = 1 + # 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