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 5325e53 commit 074f84cCopy full SHA for 074f84c
build.ps1
@@ -323,6 +323,18 @@ if (!$SkipBuild) {
323
& $rustup target add --toolchain $channel $architecture
324
}
325
326
+ if ($Clippy -and $null -eq (Get-Command cargo-clippy -ErrorAction Ignore)) {
327
+ Write-Verbose -Verbose "clippy not found, installing..."
328
+ if ($UseCFS) {
329
+ cargo install clippy --config .cargo/config.toml
330
+ } else {
331
+ rustup component add clippy
332
+ }
333
+ if ($LASTEXITCODE -ne 0) {
334
+ throw "Failed to install clippy"
335
336
337
+
338
if (Test-Path $target) {
339
Remove-Item $target -Recurse -ErrorAction Ignore
340
0 commit comments