Commit 3a05804
ci/fix: pin TinyGo 0.41.1 in pr-ci/release-main; fix installer Pascal Script type mismatch
- .github/workflows/{pr-ci,release-main}.yml pinned tinygo-version "0.41.0", which
cannot assemble a goroot from the Go 1.26 stdlib the runner resolves to ("package
internal/strconv is not in std") — refactor-harness.yml's TinyGo amd64 gates job
already carries this exact fix+errata comment; the other two workflows were never
updated to match. Confirmed via this PR's own "Build Embedded (TinyGo)" job.
- packaging/windows/ClassicStack.iss: ResolveVolumesPlaceholder failed to compile
("Type mismatch") because LoadStringFromFile's second parameter is `var S:
AnsiString`, a by-reference parameter that requires an exact type match, while
Contents was declared as the default Unicode `string`. Load into a dedicated
AnsiString and convert, per Inno Setup's Pascal Script rules for
LoadStringFromFile/SaveStringToFile.
The .iss fix is reasoned from the Pascal Script signatures, not locally compiled —
no Windows/ISCC toolchain available here. Will confirm against the next CI run
rather than claim it's verified.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent d40b953 commit 3a05804
3 files changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
311 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
312 | 318 | | |
| 319 | + | |
313 | 320 | | |
314 | 321 | | |
315 | 322 | | |
316 | 323 | | |
317 | 324 | | |
318 | | - | |
| 325 | + | |
319 | 326 | | |
320 | 327 | | |
321 | 328 | | |
| |||
0 commit comments