about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-09 00:19:19 +0000
committerbors <bors@rust-lang.org>2022-01-09 00:19:19 +0000
commit83a9f68bd7c3dead2e8bd6a1de7e27c927375739 (patch)
tree073948f2f8dffeb1e60a83f7bd4181bbf2634fd9
parent917890babb6b19447807b950b593312a675c2979 (diff)
parent3ea52086fd74e7b83bec302baff09eda619a02f3 (diff)
downloadrust-83a9f68bd7c3dead2e8bd6a1de7e27c927375739.tar.gz
rust-83a9f68bd7c3dead2e8bd6a1de7e27c927375739.zip
Auto merge of #8249 - sourcefrog:depinfo, r=Manishearth
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?

---

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
-rw-r--r--.cargo/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 688473f2f9b..c9ae0a961b6 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