From 3ea52086fd74e7b83bec302baff09eda619a02f3 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sat, 8 Jan 2022 14:12:53 -0800 Subject: [PATCH] Set binary-dep-depinfo in .cargo/config.toml Fixes #8248 According to https://doc.rust-lang.org/cargo/reference/unstable this seems to be the right place to set it, and it does fix the build for me. I haven't removed the other `rustflags` because perhaps it's needed on different cargo/rust versions? --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 688473f2f9bf..c9ae0a961b64 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -8,3 +8,6 @@ collect-metadata = "test --test dogfood --features metadata-collector-lint -- ru # -Zbinary-dep-depinfo allows us to track which rlib files to use for compiling UI tests rustflags = ["-Zunstable-options", "-Zbinary-dep-depinfo"] target-dir = "target" + +[unstable] +binary-dep-depinfo = true