Commit f75817c
authored
generator: Do not attempt to download toolchain if it is not needed (#177)
SDKs now do not include the host toolchain by default, but the generator
still checks for host toolchains before deciding it does not need to
download them.
Skipping this check when a host toolchain is not requested removes the
unnecessary network request. This saves a couple of seconds but also
makes it possible to run the generator offline, if building from a container
image which is already available locally.1 parent b72dcca commit f75817c
1 file changed
+8
-6
lines changedLines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
0 commit comments