2019-02-08 07:05:52 +00:00
|
|
|
[alias]
|
2023-08-13 13:16:38 +00:00
|
|
|
uitest = "test --test compile-test"
|
|
|
|
uibless = "test --test compile-test -- -- --bless"
|
|
|
|
bless = "test -- -- --bless"
|
2021-09-08 17:50:57 +00: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-07-15 12:51:07 +00:00
|
|
|
collect-metadata = "test --test dogfood --features internal -- collect_metadata"
|
2019-04-15 11:03:07 +00:00
|
|
|
|
|
|
|
[build]
|
2021-09-03 20:24:29 +00: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-08 19:05:49 +00:00
|
|
|
target-dir = "target"
|
2022-01-08 22:12:53 +00:00
|
|
|
|
|
|
|
[unstable]
|
|
|
|
binary-dep-depinfo = true
|
2024-08-07 16:37:05 +00:00
|
|
|
profile-rustflags = true
|
2023-03-17 13:43:32 +00:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
split-debuginfo = "unpacked"
|
2024-08-07 16:37:05 +00: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"]
|