CI R407: Windows MSVC VLIB checks macOS-only FastC prestarted POSIX helpers

Open
#32,781 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@medvednikov is already working on this.

Since Nov 23, 2026.

  • #32789 by @medvednikov — open

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
ci-cd, testing

Research direction

The failure is in vlib/v/gen/fastc/prestarted_workers_test.v at lines 34 and 38, where the macOS-only helpers fastc_start_capture_input and fastc_wait_exit_code are referenced after an $if !macos { return } guard that the compiler still type-checks on Windows. Start by confirming where those helpers are declared and whether they are compiled on non-macOS targets, then try the candidate fix of wrapping the helper-dependent body in $if macos { ... } while keeping the macOS runtime assertions. Done means the Windows MSVC, GCC and TCC compilations pass and the macOS test still runs and passes.

Written by the indexing model from the issue text.

Description

Original executed older master486 Windows MSVC shard1 job 137464809728 ended 2026-11-23 04:29:12Z after 502 VLIB passes/159 skips. vlib/v/gen/fastc/prestarted_workers_test.v:34,38 reports unknown functions fastc_start_capture_input and fastc_wait_exit_code (plus secondary non-bool assert). Current prestarted_workers_test.v source unchanged since failing SHA and contains $if !macos { return } before the macOS-only POSIX helper invocations. Compiler still semantically checks the unguarded body on Windows; these functions are macOS-specific. Candidate focused fix: enclose helper-dependent body in $if macos { ... } (retain Mac runtime test/EOF assertions); compare actual declaration applicability and run original Windows MSVC/GCC/TCC compilation plus macOS native behavior. Not a reason to disable the original macOS test. Status investigating/still source-applicable; no matched fixed native test.

[!NOTE]
You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Dominant language
V
Stars
38.1k
Forks
2.3k
Avg merge
1d 1h
Merged PRs (30d)
682

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vlang/v

All issues in vlang/v

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.