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
obs-core: swap obs_add_data_path / obs_remove_data_path to Rust #5397
The behavior-neutral extraction in branch test/h2-data-paths isolates obs_add_data_path and obs_remove_data_path in libobs/obs-data-paths.c.h (Refs #5355). After that extraction lands, swap this Phase 6 core unit to safe Rust in obs-core, preserving the libobs C API/ABI.
Keep one process-global ordered list shared with obs_find_data_file, independent of startup/shutdown. Preserve copied caller bytes, duplicates, first equal removal, freeing only the removed string, NULL/empty equivalence, and allocation ownership through the existing libobs allocator. Keep private C layouts opaque; do not add synchronization or alter behavior in the swap.
The prerequisite adds public characterization test_data_paths against hybrid and C-reference libobs and an original-C storage fixture test_data_paths_storage. Keep these and existing test_core_setup_rules_steps unchanged. Port their assertions into the existing Rust core test binary, add an original-C differential oracle and mutation check, and move the C implementation into a ported unity group. Tier 4 is inapplicable to this non-network API. Validate every applicable tier and all standalone consumers of any new adapter; no new Rust test executable.
Ready once the extraction lands; implementation must start from that merged prerequisite. Search both wrapper names and obs-data-paths before claiming to avoid duplicate swaps.
Claiming: follow-up definition from the #5355 extraction worker. 1. Land the behavior-neutral extraction from test/h2-data-paths. 2. Keep the original C characterizations unchanged. 3. Hand the separate Rust swap to the pool after that prerequisite merges; no Rust implementation is included in this extraction PR.
Claiming: obs_add_data_path / obs_remove_data_path Rust swap, now that the extraction (#5577) is on master.
RED: Rust core tests and an original-C differential case for the two wrappers against stubs.
GREEN: safe Rust list in obs-core shared with obs_find_data_file, C moved into the ported unity group, Tier 2 test_data_paths unchanged.
First PR within a few hours.
Activity
zackees commentedon Nov 21, 2026
Claiming: follow-up definition from the #5355 extraction worker. 1. Land the behavior-neutral extraction from test/h2-data-paths. 2. Keep the original C characterizations unchanged. 3. Hand the separate Rust swap to the pool after that prerequisite merges; no Rust implementation is included in this extraction PR.
rdoupe commentedon Nov 24, 2026
Claiming: obs_add_data_path / obs_remove_data_path Rust swap, now that the extraction (#5577) is on master.
First PR within a few hours.
obs-core: port obs_add_data_path and obs_remove_data_path to Rust (Fixes