Commit 2ec12b9
committed
Merged PR 13221710: explicit not use rustup
copilot messed up my script last PR, the `return` exited the script so nothing got built. instead, just going to wrap use of `rustup` to check if running in ADO. Can't run it because it won't auth and MSAzure doesn't allow public feeds, but the rust installer task already set it up as needed anyways.
----
#### AI description (iteration 1)
#### PR Classification
Build script update.
#### PR Summary
This PR modifies the build script to conditionally bypass rustup commands when the `$usingADO` flag is set, ensuring that rustup is only used in non-ADO environments.
- `build.ps1`: Wraps the rustup default command in a condition checking `$usingADO`.
- `build.ps1`: Adds a condition to the rustup target addition so it executes only when the architecture is not 'Current' and `$usingADO` is false.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| |||
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
265 | | - | |
| 267 | + | |
266 | 268 | | |
267 | 269 | | |
268 | 270 | | |
| |||
0 commit comments