Skip to content

rust: Port the obs-module search paths and data-path lookup to obs-core (#1846 unit 9, slice 1) #1876

Closed

Description

@rdoupe

Unit

Unit 9 of #1846, first slice of libobs/obs-module.c.h: module search paths, obs_find_module_file / module data-path lookup, and the module info list, into rust/obs-core. Module loading (os_dlopen, obs_module_load, the init/post-load calls) stays C in this slice.

Plan (one PR, per #1846)

  1. Characterization of the public path API in the existing module test binary: obs_add_module_path, obs_find_modules2 / obs_find_modules, obs_find_module_file, obs_find_data_file, obs_get_module_data_path, the module info list, %module% substitution, trailing separators, missing directories and NULL handling.
  2. Check first whether this slice needs a seam into struct obs_module or obs core state. If it does, the slice is narrowed to what can move without one, and that is recorded here before any code.
  3. RED, then GREEN: the Rust core plus shims with the same exported symbols, in a ported-* group. The exported-symbol count is unchanged.
  4. Tier 3 parity against the original C, a deliberate-break check, and port_comparison numbers.

The next slice of obs-module.c.h gets filed here when this one closes.

Activity

  1. rdoupe commented on Oct 23, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #1876 (unit 9 of #1846, slice 1).

  2. added
    claimed
    on Oct 23, 2026
  3. 56 remaining items

  4. moved this from In progress to Triage in obs-rust Multiviewon Oct 25, 2026
  5. added
    ready
    and removed
    claimed
    on Oct 25, 2026
  6. moved this from Triage to In progress in obs-rust Multiviewon Oct 25, 2026
  7. moved this from In progress to Ready in obs-rust Multiviewon Oct 26, 2026
  8. zackees commented on Oct 27, 2026

    @zackees
    Member

    The scoped module-path slice landed in #1894: path search and data-path lookup moved to obs-core with characterization, Tier 3 parity and ABI coverage. #1846 marks unit 9 complete for this slice. Loading and later module slices remain tracked separately (#1915 and the follow-ups on #1846). Closing this completed slice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions