mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
3ea52086fd
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?
14 lines
566 B
TOML
14 lines
566 B
TOML
[alias]
|
|
uitest = "test --test compile-test"
|
|
dev = "run --package clippy_dev --bin clippy_dev --manifest-path clippy_dev/Cargo.toml --"
|
|
lintcheck = "run --package lintcheck --bin lintcheck --manifest-path lintcheck/Cargo.toml -- "
|
|
collect-metadata = "test --test dogfood --features metadata-collector-lint -- run_metadata_collection_lint --ignored"
|
|
|
|
[build]
|
|
# -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
|