mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
a68c13563a
`.cargo/config.toml` is the preferred form for the local configuration file. This is emphasized in _The Cargo Book_ with the following note: > Note: Cargo also reads config files without the `.toml` extension, such > as `.cargo/config`. Support for the `.toml` extension was added in version > 1.39 and is the preferred form. Moreover, this helps with toml-aware text editors as they will recognize the file extension.
10 lines
528 B
TOML
10 lines
528 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"
|