mirror of
https://codeberg.org/icewind/mill-scale.git
synced 2026-06-03 09:54:19 +02:00
clippy args fixes
This commit is contained in:
parent
8b4cbf174a
commit
d71328fa95
1 changed files with 3 additions and 3 deletions
|
|
@ -243,7 +243,7 @@ warnIf (! builtins ? readFileType) "Unsupported Nix version in use."
|
|||
} // packageOpts);
|
||||
clippy = craneLib.cargoClippy (commonCraneArgs // {
|
||||
inherit cargoArtifacts;
|
||||
cargoClippyExtraArgs = "--all-targets ${maybeWorkspace} -- --deny warnings";
|
||||
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||
} // packageOpts);
|
||||
} // (optionalAttrs hasMsrv
|
||||
{
|
||||
|
|
@ -262,7 +262,7 @@ warnIf (! builtins ? readFileType) "Unsupported Nix version in use."
|
|||
} // packageOpts);
|
||||
clippy-all-features = craneLib.cargoClippy (allFeaturesCraneArgs // {
|
||||
cargoArtifacts = cargoArtifactsAllFeatures;
|
||||
cargoClippyExtraArgs = "--all-targets ${maybeWorkspace} --all-features -- --deny warnings";
|
||||
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||
} // packageOpts);
|
||||
}) // (optionalAttrs hasDefaultFeatures {
|
||||
test-no-default-features = craneLib.cargoTest (noDefaultFeaturesCraneArgs // {
|
||||
|
|
@ -271,7 +271,7 @@ warnIf (! builtins ? readFileType) "Unsupported Nix version in use."
|
|||
} // packageOpts);
|
||||
clippy-no-default-features = craneLib.cargoClippy (noDefaultFeaturesCraneArgs // {
|
||||
cargoArtifacts = cargoArtifactsNoDefault;
|
||||
cargoClippyExtraArgs = "--all-targets ${maybeWorkspace} --no-default-features -- --deny warnings";
|
||||
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||
} // packageOpts);
|
||||
}) // (optionalAttrs hasExamples {
|
||||
examples = craneLibMsrv.buildPackage (commonCraneArgs // {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue