CI: Windows FastC shared-library flag path normalization disagrees with POSIX-only fixture
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
Research direction
Start with fastc_c_flag_args and the test test_fastc_shared_library_source_flags_keep_relative_paths in vlib/v/gen/fastc/loom2v_test.v around lines 260-266. Reproduce the case with a relative and a POSIX-absolute source path on Windows and on Unix to see where the drive letter is added. Done means the test passes on both platforms with path expectations that match the intended semantics, without removing the assertion.
Written by the indexing model from the issue text.
Description
Executed historical Windows failure (separate from the same job's _wgetcwd error)
- Master
593657221cd2ef2063d41979a7b827e8cb12ecd5, Windows MSVC shard0 job 137340664778, completed 2026-11-22 22:28:41 UTC. - In
vlib/v/gen/fastc/loom2v_test.v:260–266,test_fastc_shared_library_source_flags_keep_relative_pathscallsfastc_c_flag_args('./lib/libexample.dylib', @VEXEROOT, '/tmp/project/source.v')and strictly expects['/tmp/project/lib/libexample.dylib']. It instead receives['D:\\tmp\\project\\lib\\libexample.dylib']on the Windows worker. The other test in the same job fails for distinct_wgetcwdgenerated-C prototype handling (tracked separately as #32763). This is a real assertion failure, not an intentional harness test. - Test source is unchanged on current master
44bbfa439042a8b027d7132885c01c4ef2f6438c; the failing older commit alone does not establish when it was introduced.
Root-cause hypothesis and next action
The test supplies a POSIX absolute source path as a synthetic input while running under Windows, whose path resolution normalizes that to the current drive. Investigate whether fastc_c_flag_args is contractually host-native or should preserve POSIX spelling for cross-compilation. Reduce both real relative and synthetic absolute inputs on Windows/Unix. Keep strict expected path normalization per intended platform semantics, verifying library filename, base directory, and all four suffix forms. Do not simply remove/skip the assertion or conceal an actual cross-compilation bug.
Normalized R397, first/last observed 2026-11-22 22:28 UTC. Status investigating/still source-applicable, native fixed revision/Windows and Linux controls unavailable.
[!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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vlang/v
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sagemathinc/sagebrush#1683 ·
Maintainers usually reply within 1 day
-
bot-triaged module: aotinductor module: compile-time module: inductor module: performance module: rocm oncall: export oncall: pt2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
baseballyama/rsvelte#5235 ·
Maintainers usually reply within 1 day
-
lang-core: member access on a component instance reads its internal fields instead of giving nullOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midspiral/LemmaScript#355 · 1 comment ·
Maintainers usually reply within 1 day