We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2edcc4b commit fd076a1Copy full SHA for fd076a1
build.ps1
@@ -341,6 +341,18 @@ if (!$SkipBuild) {
341
& $rustup target add --toolchain $channel $architecture
342
}
343
344
+ if ($Clippy -and $null -eq (Get-Command cargo-clippy -ErrorAction Ignore)) {
345
+ Write-Verbose -Verbose "Installing cargo-clippy"
346
+ if ($UseCFS) {
347
+ cargo install clippy --config .cargo/config.toml
348
+ } else {
349
+ cargo install clippy
350
+ }
351
+ if ($LASTEXITCODE -ne 0) {
352
+ throw "Failed to install cargo-clippy"
353
354
355
+
356
if (Test-Path $target) {
357
Remove-Item $target -Recurse -ErrorAction Ignore
358
0 commit comments