Commit ea88ba4
committed
Merged PR 13221253: don't run msrustup at all within ADO
don't run msrustup at all within ADO
----
#### AI description (iteration 1)
#### PR Classification
This PR updates the build script to disable the execution of msrustup in ADO environments.
#### PR Summary
The pull request modifies `/build.ps1` to ensure that msrustup is not run when the build is executed within ADO. It introduces an early exit when the ADO flag is set and simplifies the rust toolchain selection and update logic.
- `build.ps1`: Adds a conditional branch that breaks out when `$usingADO` is true, preventing msrustup execution.
- `build.ps1`: Removes the fallback assignment of `$rustup` to `echo` and adjusts the update condition for clarity and proper toolchain selection.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
166 | | - | |
167 | | - | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
188 | | - | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
0 commit comments