2019-02-08 01:05:52 -06:00
|
|
|
[alias]
|
2024-08-24 16:34:45 -05:00
|
|
|
bless = "test --config env.RUSTC_BLESS='1'"
|
2019-02-08 01:05:52 -06:00
|
|
|
uitest = "test --test compile-test"
|
2024-08-24 16:34:45 -05:00
|
|
|
uibless = "bless --test compile-test"
|
2021-09-28 12:03:12 -05:00
|
|
|
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 -- "
|
2024-08-24 16:34:45 -05:00
|
|
|
collect-metadata = "test --test compile-test --config env.COLLECT_METADATA='1'"
|
2019-04-15 06:03:07 -05:00
|
|
|
|
|
|
|
[build]
|
2021-09-08 09:31:47 -05:00
|
|
|
# -Zbinary-dep-depinfo allows us to track which rlib files to use for compiling UI tests
|
|
|
|
rustflags = ["-Zunstable-options", "-Zbinary-dep-depinfo"]
|
2021-09-28 12:03:12 -05:00
|
|
|
target-dir = "target"
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
[unstable]
|
|
|
|
binary-dep-depinfo = true
|
2024-08-08 12:13:50 -05:00
|
|
|
profile-rustflags = true
|
2023-04-11 08:31:08 -05:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
split-debuginfo = "unpacked"
|
2024-08-08 12:13:50 -05:00
|
|
|
|
|
|
|
# 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"]
|