mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-26 14:40:32 +00:00
25 lines
940 B
TOML
25 lines
940 B
TOML
[alias]
|
|
bless = "test --config env.RUSTC_BLESS='1'"
|
|
uitest = "test --test compile-test"
|
|
uibless = "bless --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 compile-test --config env.COLLECT_METADATA='1'"
|
|
|
|
[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
|
|
profile-rustflags = true
|
|
|
|
[profile.dev]
|
|
split-debuginfo = "unpacked"
|
|
|
|
# Add back the containing directory of the packages we have to refer to using --manifest-path
|
|
[profile.dev.package.clippy_dev]
|
|
rustflags = ["--remap-path-prefix", "=clippy_dev"]
|
|
[profile.dev.package.lintcheck]
|
|
rustflags = ["--remap-path-prefix", "=lintcheck"]
|