Commit c80a8a8
ci: fix vtcc int(0x8000_0000) overflow; document discord.v disable (#26858)
* ci: fix vtcc int overflow and disable discord.v until upstream is fixed
vtcc (felipensp/vtcc stable branch) has `const shf_private = int(0x8000_0000)`
in src/tccelf.v. The value 0x8000_0000 = 2147483648 overflows V's `int` (max
2147483647). V already emits a warning for this; it will become a hard error
soon. TCC then rejects the generated C with "invalid operand types for binary
operation" at the overflowed value site.
Fix: patch the source in-place with sed before compiling vtcc, changing `int`
to `u32`. Upstream issue: felipensp/vtcc#6.
discord.v: add an early-exit to compile_discordv.sh explaining why the step is
disabled (uses deprecated json2.raw_decode). The yml step was already guarded
with `${{ false && ... }}`; this comment makes the intent clear in the script
itself too. Upstream issue: vcv88/discord.v#21.
Both failures are tracked at #26853.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: address Codex review — remove exit 0 from compile_discordv.sh
The YAML step is already guarded with `${{ false && ... }}`, which is
the authoritative disable mechanism. Having `exit 0` in the script
itself created a false-green path: if someone later re-enabled the YAML
condition without reading the script, CI would silently skip all tests.
Replace with a comment block explaining *why* the yml step is disabled
and what needs to happen for it to be re-enabled, keeping the original
test logic intact.
Addresses: chatgpt-codex-connector review on #26858
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Richard Wheeler <18647491+PythonWillRule@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9f0ef6c commit c80a8a8
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
0 commit comments