Skip to content

Commit 654be48

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
specify config file for cargo install
1 parent db5fa04 commit 654be48

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pipelines/DSC-Official.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extends:
117117
buildName: x86_64-pc-windows-msvc
118118
signSrcPath: '$(signSrcPath)'
119119
PackageRoot: '$(PackageRoot)'
120-
token: '$(AzToken)'
120+
token: $(AzToken)
121121
rustSDK: $(Rust.SDK)
122122

123123
- job: BuildWin_arm64
@@ -137,7 +137,7 @@ extends:
137137
buildName: aarch64-pc-windows-msvc
138138
signSrcPath: '$(signSrcPath)'
139139
PackageRoot: '$(PackageRoot)'
140-
token: '$(AzToken)'
140+
token: $(AzToken)
141141
rustSDK: $(Rust.SDK)
142142

143143
- job: CreateMsixBundle

build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ if ($null -ne $packageType) {
223223
## Test if tree-sitter is installed
224224
if ($null -eq (Get-Command tree-sitter -ErrorAction Ignore)) {
225225
Write-Verbose -Verbose "tree-sitter not found, installing..."
226-
cargo install tree-sitter-cli
226+
cargo install tree-sitter-cli --config .cargo/config.toml
227227
}
228228
}
229229

@@ -371,7 +371,7 @@ if (!$SkipBuild) {
371371
else {
372372
if ($Audit) {
373373
if ($null -eq (Get-Command cargo-audit -ErrorAction Ignore)) {
374-
cargo install cargo-audit --features=fix
374+
cargo install cargo-audit --features=fix --config .cargo/config.toml
375375
}
376376

377377
cargo audit fix
@@ -404,7 +404,7 @@ if (!$SkipBuild) {
404404
else {
405405
if ($Audit) {
406406
if ($null -eq (Get-Command cargo-audit -ErrorAction Ignore)) {
407-
cargo install cargo-audit --features=fix
407+
cargo install cargo-audit --features=fix --config .cargo/config.toml
408408
}
409409

410410
cargo audit fix

0 commit comments

Comments
 (0)