Windows MSVC: native-interface manifest test cannot assign supported headers
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system, compilers
Research direction
Start with vlib/v/driver/native_interfaces_test.v, specifically test_native_interface_contract_requires_known_paths_and_complete_manifest (line 33) and test_windows_core_header_manifest_is_audited_and_invalidateable (line 127). The header closure logic lives in vlib/v/driver/native_interfaces.v, which runs a preprocessor -E check and a -M manifest step via clang. Reproduce on native Windows with MinGW GCC and MSVC LLVM Clang, logging the exact invocation and dependency paths. Done means both positive header assertions pass without weakening the unassignable expectations or the negative poisoning tests.
Written by the indexing model from the issue text.
Description
Executed master regression (not a queued-container inference)
Master d8083d40873efc7689abdb15f4ca21b4f5d59f4a Windows MSVC selftest shard 4/4 job 136897142683 completed 2026-11-21 16:11Z after 369 sibling passes, 168 skips, and one genuine failing test vlib/v/driver/native_interfaces_test.v.
In test_native_interface_contract_requires_known_paths_and_complete_manifest line 33, the v3_native_interface_closure returned .unassignable equal to the real absolute thirdparty/mbedtls/include/mbedtls/probe.h when the test asserted empty. In test_windows_core_header_manifest_is_audited_and_invalidateable line 127, .unassignable is the real pinned vlib/builtin/core_windows.h, also unexpectedly nonempty. Same two test failures on the Windows TCC job 136897142588 after 1,466 passing siblings. These are two failed assertions inside the same native-manifest test, not two independent runtime corruptions.
At failing SHA and current c5d66aae3bc4865f2d18c6c225fc94e2ac374606, the test source and relevant vlib/v/driver/native_interfaces.v code remain unchanged. The test uses os.find_abs_path_of_executable('clang'); on hosted Windows this can be native Visual Studio LLVM Clang. The source does a preprocessor -Werror=date-time -E validation and then a compiler-produced -M manifest (non-TCC branch), returning the original unassignable path on any failure. Which stage failed is not established by the current job output; it could be compiler flags, path normalization, header closure or unsupported native compiler target. Do not bypass provenance checks or simply change unassignable expectations.
Required repair experiment
On native Windows with MinGW GCC and Visual Studio LLVM Clang: log the exact preprocessor invocation/exit/stderr, -M command and dependency paths (not header contents); compare slash/case normalization and selected -cc target, including TCC's deliberately fail-closed path. Reproduce both positive header-manifest assertions plus all negative macro/date-time poisoning tests on the current master; inspect exact manifest ownership and hashing before selecting a focused fix. No V source/binary or Windows runner in this task's local environment. UNRESOLVED / investigating; no suppression, skipped test or weaker assertion authorized.
[!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 1/5 Under an hour Newbie friendliness 78/100
conda-forge/zarpaint-feedstock#8 · 1 comment · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CachyOS/CachyOS-PKGBUILDS#2177 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
CI: pin OS images in build/publish tests instead of `*-latest`Possibly taken @shikhabhadoria claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vacanza/holidays#4220 · 1 comment ·
Maintainers usually reply within 1 day