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-module-load-locale.c.h to obs-core after extraction #4247
Phase 6 Rust swap, dependent on extraction #4245 landing first. Port libobs/obs-module-load-locale.c.h (obs_module_load_locale) to obs-core, keeping the libobs C API/ABI unchanged.
The filename builders and case-insensitive comparison are already Rust; the remaining C function coordinates file resolution, text_lookup_create/add, warnings, and temporary allocation cleanup. Preserve default-only and overlay behavior, missing default returning NULL, missing overlay retaining default, case-only locale match skipping the overlay, NULL argument warnings, and the characterized leading slash/double slash behavior.
Existing characterization is test/cmocka/test_core_module_load.c::module_locale (1496-1557). Port its assertions into existing consolidated Rust category binaries; commit RED against a stub then GREEN, add differential coverage against the unchanged C oracle, and require the unchanged C test on hybrid and reference libraries. Do not edit existing C tests or public headers. Add real adapter link support if needed, with NULL guards before any field accessor.
The extraction branch is port/4245-module-load-locale-extract, held without a PR by the worker pool's BRANCH-ONLY assignment. This issue is not claimed and must wait for #4245 to merge. No changes to module initialization, module-list work or obs-websocket are in scope.
Claiming: obs_module_load_locale Rust swap (pool im-bo-sw-mod, obs-studio4). 1. Branch port/4247-module-load-locale from prerequisite branch port/4245-module-load-locale-extract at 0c4f90f. 2. Commit RED coverage, then GREEN safe core, thin ABI bridge and unchanged-C differential coverage. 3. Run focused tests, formatting and full lint, then push that branch only. No PR will be opened during the CI backlog; manager will open stacked PRs when the queue drains. Module initialization and module-list work remain out of scope.
Activity
zackees commentedon Nov 9, 2026
Claiming: obs_module_load_locale Rust swap (pool im-bo-sw-mod, obs-studio4). 1. Branch port/4247-module-load-locale from prerequisite branch port/4245-module-load-locale-extract at 0c4f90f. 2. Commit RED coverage, then GREEN safe core, thin ABI bridge and unchanged-C differential coverage. 3. Run focused tests, formatting and full lint, then push that branch only. No PR will be opened during the CI backlog; manager will open stacked PRs when the queue drains. Module initialization and module-list work remain out of scope.
libobs: Port module locale loading to Rust
libobs: Port module locale loading to Rust
libobs: Port module locale loading to Rust (obs-rust#4564)
zackees commentedon Nov 18, 2026
Landed on master in #4564 (d6bef3e); verified the merge is an ancestor of origin/master and rust/obs-core/src/ffi/module_load_locale.rs exists there.