You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: cmocka: effect parser Rust comparison fails Windows linking with LNK2005 #3603
test/cmocka/tests.d/test_effect_parser_blocks.cmake:19-34, added by 60b38b1 (#3595), links both obs.lib and libobs_rust-static while compiling effect-parser.c.h. Its line 1544 calls gs_effect_get_param_by_name. The import thunk collides with the Rust codegen object needed for private parser shims.
Class
Duplicate-symbol link failure; pre-merge platform coverage blind spot.
Give the test an explicit Windows DLL-import bridge for the public lookup, keeping the Rust definition and private static parser shims. Preserve all existing C tests and public headers. Reproduce the import-thunk/static-object collision with an SDK-free COFF link regression and obtain native Windows Tier 2 if possible. Recommend the smallest pre-merge lane-selection extension in the PR body, leaving expensive runner policy to the owner.
Claiming: investigation and Windows effect-parser link fix, explicitly requested by the maintainer. 1. Verify introducing translation unit and path-selected gate. 2. Add RED COFF regression then explicit DLL-import bridge without changing public headers or existing C tests. 3. Open a draft PR this session, validate native Windows if available, and document the lane policy recommendation for owner decision.
Fixed by #3604, merged through the queue as f7610b4. The public lookup uses an address-only DLL import in the test; the production Rust definition, C reference, existing assertions and public headers are retained, with no /FORCE added.
The PR body records the introducing commit and translation unit, corrects the path-selection explanation, and recommends running Windows Tier 2 for relevant merge groups while preserving batching and full coverage. That recurring runner-policy expansion remains an owner decision; it was not implemented unilaterally.
Activity
zackees commentedon Nov 4, 2026
Claiming: investigation and Windows effect-parser link fix, explicitly requested by the maintainer. 1. Verify introducing translation unit and path-selected gate. 2. Add RED COFF regression then explicit DLL-import bridge without changing public headers or existing C tests. 3. Open a draft PR this session, validate native Windows if available, and document the lane policy recommendation for owner decision.
/ready
zackees commentedon Nov 4, 2026
/ready
zackees commentedon Nov 4, 2026
Fixed by #3604, merged through the queue as f7610b4. The public lookup uses an address-only DLL import in the test; the production Rust definition, C reference, existing assertions and public headers are retained, with no /FORCE added.
Native proof: PR Windows Tier 2 https://github.com/obs-rust/obs-studio/actions/runs/41759671789/job/126344929100 passed all four 400-test suites and both 1795-symbol identity comparisons. Merge-group Windows Tier 2 https://github.com/obs-rust/obs-studio/actions/runs/41761737697/job/126351570386 and CI Gate also passed. Local lint and the COFF ownership regression passed.
The PR body records the introducing commit and translation unit, corrects the path-selection explanation, and recommends running Windows Tier 2 for relevant merge groups while preserving batching and full coverage. That recurring runner-policy expansion remains an owner decision; it was not implemented unilaterally.