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_apply_private_data to obs-core after extraction #5330
After the C-only characterization/extraction prerequisite #5328 merges, port only obs_apply_private_data from libobs/obs-apply-private-data.c.h to obs-core.
Preserve the libobs C API/ABI and existing native core-owned obs->data.private_data. NULL settings returns before any core access. Non-NULL settings delegates to the existing obs_data_apply implementation without clearing/replacing destination storage or retaining caller settings; initialized core remains the precondition. Reuse the existing private-data native field seam where possible. Do not modify the unchanged C characterization, public headers, or OBS WebSocket plugin.
Mirror every test_apply_private_data assertion in the existing Core state category, add differential coverage against the original extracted C, move the extracted source into its reference-only ported unity group, register exports and real adapter consumers, and run the required RED/GREEN, unchanged Tier 2 OFF/ON, Tier 3 mutation, native-link and lint gates. No protocol surface is changed; Tier 4 is not applicable. No link_support changes until #5246 merges; if support is unavoidable before then, keep the implementation PR draft-held.
Claiming: Rust swap of obs_apply_private_data on branch port/5345-5330-core-noops, batched with #5345 (same crate, one PR).
RED: safe Tier 1 tests mirroring test_apply_private_data in the existing Core category binary, against stubs.
GREEN: safe core plus thin FFI shim: NULL settings returns before any core access; otherwise delegates to obs_data_apply on the C-owned private_data through a real C adapter. C unit moved to its reference-only ported group, Tier 2 unchanged against hybrid and C reference, Tier 3 differential against the oracle.
Done in #5361 (merged 2026-11-20 13:46 UTC): obs_apply_private_data now runs through safe Rust in obs-core; the C unit moved to its reference-only group.
Activity
rdoupe commentedon Nov 20, 2026
/ready
Its only prerequisite, #5328, landed in #5334 (
libobs/obs-apply-private-data.c.his on master).rdoupe commentedon Nov 20, 2026
Claiming: Rust swap of obs_apply_private_data on branch port/5345-5330-core-noops, batched with #5345 (same crate, one PR).
rdoupe commentedon Nov 20, 2026
Done in #5361 (merged 2026-11-20 13:46 UTC): obs_apply_private_data now runs through safe Rust in obs-core; the C unit moved to its reference-only group.
obs-core: swap deprecated module-loading no-ops and obs_apply_private…