Skip to content

Commit

Permalink
Auto merge of rust-lang#8249 - sourcefrog:depinfo, r=Manishearth
Browse files Browse the repository at this point in the history
Set binary-dep-depinfo in .cargo/config.toml

Fixes rust-lang#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
  • Loading branch information
bors committed Jan 9, 2022
2 parents 917890b + 3ea5208 commit 83a9f68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 83a9f68

Please sign in to comment.