Skip to content

Commit 3ea5208

Browse files
committed
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?
1 parent 917890b commit 3ea5208

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ collect-metadata = "test --test dogfood --features metadata-collector-lint -- ru
88
# -Zbinary-dep-depinfo allows us to track which rlib files to use for compiling UI tests
99
rustflags = ["-Zunstable-options", "-Zbinary-dep-depinfo"]
1010
target-dir = "target"
11+
12+
[unstable]
13+
binary-dep-depinfo = true

0 commit comments

Comments
 (0)