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
rust: Port obs.c command-line argument getter to obs-core #3976
Phase 6, native child of #444. Port the live public obs_get_cmdline_args getter from libobs/obs.c.h to obs-core. It returns the stored argc and borrowed argv snapshot by value. No matching Rust implementation or overlapping open PR was found in the 80-PR inventory, and no open cmdline port issue exists. The existing setup-rules port owns setter decisions; this unit preserves that setter and its allocation and lifetime behavior.
Characterization does not yet exist for this getter. Add actual-library C characterization, extract the getter verbatim in its own building commit, then Tier 1 RED and GREEN, a private snapshot adapter, real-header layout checks, differential mutation coverage, and unchanged Tier 2 against both libraries with identical exports. No dependencies or intentional behavior differences. No public header or existing C test changes. Tier 4 is not applicable to this non-protocol getter. First draft PR expected this worker session.
Claiming: the public command-line argument snapshot getter. 1. Characterize and extract the live C getter. 2. Commit Tier 1 RED, then the Rust core and thin ABI shim GREEN with real-header layout and differential mutation checks. 3. Validate unchanged both-library Tier 2, exports, native registration and lint; open the first draft PR this session.
Characterization and verbatim extraction pass against both actual libraries with loader-path evidence. RED commit c577664 fails all three focused Tier 1 cases at the Rust stub and is pushed on port/3976-cmdline-getter. The claim workflow remains queued and assignment is not yet accepted, so the mandatory pre-PR claim check prevents opening the draft until that completes. Continuing local GREEN validation while the claim is pending.
Implementation is complete in PR #3979, ready with auto-merge enabled for verified head 192ac15. All required local checks passed, including unchanged both-library Tier 2 and identical exports, mutation-tested differential parity, individual-source GCC/Clang validation, focused ASan/UBSan and full lint. The local review is clean. No intentional behavior differences. Hosted checks and merge queue remain pending; handing the response to the worker-pool coordinator without waiting on hosted CI.
Activity
zackees commentedon Nov 8, 2026
Claiming: the public command-line argument snapshot getter. 1. Characterize and extract the live C getter. 2. Commit Tier 1 RED, then the Rust core and thin ABI shim GREEN with real-header layout and differential mutation checks. 3. Validate unchanged both-library Tier 2, exports, native registration and lint; open the first draft PR this session.
zackees commentedon Nov 8, 2026
Characterization and verbatim extraction pass against both actual libraries with loader-path evidence. RED commit c577664 fails all three focused Tier 1 cases at the Rust stub and is pushed on port/3976-cmdline-getter. The claim workflow remains queued and assignment is not yet accepted, so the mandatory pre-PR claim check prevents opening the draft until that completes. Continuing local GREEN validation while the claim is pending.
test(core): characterize public command-line snapshot (#3976)
refactor(core): extract command-line snapshot getter verbatim (#3976)
test(core): RED command-line getter against Rust stub (#3976)
feat(core): GREEN Rust command-line snapshot getter (#3976)
fix(core): keep command-line storage valid for separate sources (#3976)
zackees commentedon Nov 8, 2026
Implementation is complete in PR #3979, ready with auto-merge enabled for verified head 192ac15. All required local checks passed, including unchanged both-library Tier 2 and identical exports, mutation-tested differential parity, individual-source GCC/Clang validation, focused ASan/UBSan and full lint. The local review is clean. No intentional behavior differences. Hosted checks and merge queue remain pending; handing the response to the worker-pool coordinator without waiting on hosted CI.
obs-core: port public command-line argument getter (obs-rust#3976) (o…