diff options
| author | Martin Pool <mbp@sourcefrog.net> | 2022-01-08 14:12:53 -0800 |
|---|---|---|
| committer | Martin Pool <mbp@sourcefrog.net> | 2022-01-08 14:12:53 -0800 |
| commit | 3ea52086fd74e7b83bec302baff09eda619a02f3 (patch) | |
| tree | 073948f2f8dffeb1e60a83f7bd4181bbf2634fd9 | |
| parent | 917890babb6b19447807b950b593312a675c2979 (diff) | |
| download | rust-3ea52086fd74e7b83bec302baff09eda619a02f3.tar.gz rust-3ea52086fd74e7b83bec302baff09eda619a02f3.zip | |
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?
| -rw-r--r-- | .cargo/config.toml | 3 |
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 |
