Skip to content

ci/build: one shared link-support selection for every libobs_rust-static consumer #5219

Closed

Description

@zackees

Standalone libobs_rust-static consumers currently assemble their private C adapters and native host libraries independently in CMake and Cargo-native fixtures. The #5155 diagnostic rebase reproduces twelve Windows duplicate-provider links, nine Linux links (GObject/Jansson errors hiding private-adapter errors), and one Darwin private-logger link. #5190 established a demand-linked real-adapter archive but leaves provider ordering and the wider support closure fragmented.

Implement step B of the #5155 rework: one shared native support contract for every Rust-static consumer, including consumers also linking OBS::libobs. Preserve Rust-before-import ordering, inherit complete host library interfaces from their owning dependencies, and offer real private logging/field adapters through lazy archive members. Keep master behavior and all existing C assertions unchanged. Step A owns the graphics maximum-texture seam and is independent work.

Add failing build regressions for shared-libobs consumers, transitive host libraries, and import/static allocator providers. Validate the complete native_build:: module, every Linux *_rust cmocka target with -k 0, Windows and separate Darwin pre-queue links, formatting and full lint. Replay the held #5155 diagnostic locally and report its residual failure inventory without publishing the combination.

Refs #5145. The lesson from #5155 is that Rust category links and a few unrelated fixtures do not prove all standalone consumers; DSO errors can conceal later private-adapter failures, and Windows failure prevents the wrapper checker from reaching Darwin.

Activity

  1. added
    infra
    ready
    P2
    size:M
    ci
    on Nov 19, 2026
  2. zackees commented on Nov 19, 2026

    @zackees
    MemberAuthor

    Claiming: step B shared native link-support prerequisite in pool slot obs-studio6. 1. Commit RED regressions for shared/import consumers and transitive native host dependencies. 2. Unify demand-linked real adapters and provider ordering in CMake and Cargo-native fixtures. 3. Run the requested full link inventories and native_build module, replay #5155 locally, then publish only this prerequisite when backpressure permits. Expect the first PR after local RED/GREEN validation in this session. Refs #5145.

  3. 123 remaining items

  4. zackees commented on Nov 20, 2026

    @zackees
    MemberAuthor

    Landed on master in #5246 (fa2c3ec). Every libobs_rust-static consumer now takes its link support from one shared selection, instead of per-target support files. New swaps add their entries to the shared manifest.

  5. moved this from In progress to Done in obs-rust Multiviewon Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2ciinfrareadysize:M

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions