Skip to content

libobs: extract hidden service info-table and plugin-data accessors (Refs #3840) - #5367

Merged
rdoupe merged 3 commits into
masterfrom
test/3840-service-info-plugin-data
Nov 20, 2026
Merged

rdoupe merged 3 commits into
masterfrom
test/3840-service-info-plugin-data

Conversation

@rdoupe

@rdoupe rdoupe commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Extract the four hidden service accessors obs_service_set_info, obs_service_get_info_table, obs_service_set_plugin_data and obs_service_get_plugin_data verbatim from libobs/obs-service.c.h into libobs/obs-service-info-accessors.c.h, in the same unity group (libobs.core-output+), ahead of their Rust swap. Same shape as the handler getters' prerequisite (#5013).

test_service_info_accessors compiles the real extracted C and characterizes:

  • set_info copies the whole table by value into the service and changes no other byte; a later change to the source table does not reach the service; a second set overwrites in place; an all-NULL table copies the same way.
  • get_info_table returns the embedded table's address (not the caller's), stable across calls, and changes no byte.
  • set_plugin_data / get_plugin_data round-trip any pointer, NULL included, change only context.data, never dereference it, and log nothing.

An opt-in OBS_SERVICE_INFO_ACCESSORS_RUST mode lets the later Rust-static registration link this test unchanged.

Refs #3840 (info-table and plugin-data slice). No Rust code here, so Rust Tier 1, the C-oracle differential and mutation check come with the swap PR. Tier 4 does not apply.

Evidence

RED (a0a4d5826, test only): compiling the fixture from a git archive export of that commit fails because the extracted file does not exist yet:

gcc -fsyntax-only -std=gnu17 -Ilibobs -I. -I<cmocka> -I<build-c/config> -I<libcaption> test/cmocka/test_service_info_accessors.c
test/cmocka/test_service_info_accessors.c:13:10: fatal error: ../../libobs/obs-service-info-accessors.c.h: No such file or directory

GREEN (5b5227961): the same command on that commit's export exits 0.

  • The four moved bodies are byte-identical to what obs-service.c.h loses (diff of removed vs added lines: no output).
  • SOLDR_PORCELAIN=0 ./lint: lane lint: ok (63 s), including the build-group and test-graph checks.
  • Tier 2 (OBS_CTEST_JOBS=10 uv run rust/tools/linux-validate/run.py --repeat 1 --tests 'test_service_(info_accessors|getters|lifecycle|handler_getters)'): 1061/1061 passed against the C reference (OFF) and the hybrid libobs (ON), exported symbols identical; the repeat of the five service tests passed 5/5 in each mode.

🤖 Generated with Claude Code

rdoupe and others added 2 commits November 20, 2026 12:48
…s (Refs #3840)

RED: the fixture compiles the extracted libobs/obs-service-info-accessors.c.h,
which does not exist yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Refs #3840)

GREEN: obs_service_set_info, obs_service_get_info_table,
obs_service_set_plugin_data and obs_service_get_plugin_data move verbatim
from obs-service.c.h into their own file in the same unity group, ahead
of their Rust swap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ci-Attestation: {"at":1795197835,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":61,"stamp":"48b9f61eef46614da75faf2bcccb18c1","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197835,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":61,"stamp":"bbd8507a1331e57f12d9dfad922175ed","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197835,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":61,"stamp":"6555f05620fcfc92236b43c1a9d64b52","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197835,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":61,"stamp":"ad669a8d1e2a7c81d219d66a2a945d03","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"general/all/client-lint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"51d8d1671c6f09f55d1078f677477472","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197835,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":61,"stamp":"ff1c1342500139a7c1c647fd56eccd50","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"a49c971ee88ad96417ba8b26768b30ee","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"96b2852450bac251b6f2b41b3a5a8572","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"dd897728988a503416ef4f8746e2bf0a","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"8f63605c03166b683ee02e81daa1d57c","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"5db85d390be073c187375d9cfb66ade9","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"0ae57709baf1913e09b499eed0a8f055","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"6a61024b825f28ceb94373920617464e","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"6c702bdaef34640f934d1c1bd0058fd4","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"8db941d9d6e12edf8af84336889f0eb1","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"923ccb8854dda2632b779cade83d0752","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"d82ffbfb6235d8e7ae26780fc2f90aa9","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795197773,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"19b842134edba609f92be2ea9c30e86356d888cc10ea6eab84996d02042c3bdd","lane":"client-lint","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":57,"stamp":"4ee0f31f14cfaf0185aa74850aed922a","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}
Ci-Attestation: {"at":1795198044,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"8f78503ef04a08c0c138a5589574e05dc18202a4056391bd5e9b3f1c1eadc261","lane":"client-test-x86_64-unknown-linux-gnu","parents":["a0a4d5826a3d5e211442fa9391480309811aa0b9"],"secs":208,"stamp":"f8caec8d48ce4bf923580060def02a61","tree":"89f106967766adc7a6c59063678dd44117fb372c","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"151acad9add26cbfb30b6d39845090fd8c486fb7","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.core-output+.h.c","libobs/obs-service-info-accessors.c.h","libobs/obs-service.c.h","rust/README.md","test/cmocka/build/test-graph.json","test/cmocka/test_service_info_accessors.c"],"head":"df9caf548a6cd81b201219659e0db61119420c7c","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504-GITv2.15.4\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"789d391bb74749d1a3d628c5a210d8fa2fd432a49975228136870ccc5848a245","tree":"89f106967766adc7a6c59063678dd44117fb372c"}}
@rdoupe
rdoupe requested a review from zackees as a code owner November 20, 2026 18:07
@rdoupe
rdoupe enabled auto-merge November 20, 2026 18:07
…3840)

Windows Tier 2 links failed with undefined obs_service_get_info_table,
obs_service_get_plugin_data, obs_service_set_plugin_data and
obs_service_set_info: the shared Rust-static support archive reached them
only through service-runtime-link-support.c's obs-service.c.h, which no
longer defines them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ci-Attestation: {"at":1795199091,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":65,"stamp":"ae4c77dbc2745758dd414c86e8bd267d","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199091,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":65,"stamp":"58d2644e3e38c613f4a11eb465aab5c5","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199091,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":65,"stamp":"a4e5da0a6659c669665e70a6530992e8","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199091,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":65,"stamp":"da62a40b8d836339df65dc6f1c1fdbaf","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"general/all/client-lint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"9051684956e48a04dda54e5dccf463b7","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199091,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":65,"stamp":"478af7dbbc58d9ad020a2ccccfa3a412","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"2bdc94b3a37a76f39d67ba7f4eec159e","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"bb9477249ba29346a89119ac84c7c1c3","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"d346ae2ab04e6611b674a008feb1317e","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"18348769770ad00931a4b365d5977a02","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"f835a9e697979e6133e5d9cd930238dd","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"2d2eda12fc08587d35709fad0a354636","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"83945810b2bb631e4bd2791258faa234","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"03a1eec63068d85a1a8d1ef8e7049138","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"4e44cf824fe46cb08b0cad34449bbaf6","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"a4bfe9d36c4db2d621b54c3fcc954c61","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"cce8e5dcbb1b8664f3533072e3a09a83","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199025,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"e56021e6f824b981bbdfee988847caf98260aadbe62077a7f4d66f177657e325","lane":"client-lint","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":10,"stamp":"4c861b1f2016387cf828b08051f1ca58","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}
Ci-Attestation: {"at":1795199235,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"28f7dc65d5c2e5787b333cab9ce783c71a69ec8a637ea2def87b7b0530139bcb","lane":"client-test-x86_64-unknown-linux-gnu","parents":["5b52279614585d02be8cebef58c38b09691bf956"],"secs":143,"stamp":"9683812623f7e4e30f6539aec409eeee","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"151acad9add26cbfb30b6d39845090fd8c486fb7","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.core-output+.h.c","libobs/obs-service-info-accessors.c.h","libobs/obs-service.c.h","rust/README.md","test/cmocka/build/rust-static-support.json","test/cmocka/build/test-graph.json","test/cmocka/service-info-accessors-link-support.c","test/cmocka/test_service_info_accessors.c"],"head":"3eb6b6caa14df745165e855cf7f014f86098fc6b","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504-GITv2.15.4\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"fdb401dacd893ab71c2815e7144e721c1cd10217f4238ea2d0d6b53632aff0cb","tree":"b44f8a4dbfc10024b5d6aa71a1382c7e82faa1ad"}}
@rdoupe

rdoupe commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

Fixed the Windows Tier 2 link failure, rebased onto master (151acad).

RED (PR CI, Tier 2 Link Check win-x64, job 136474383667): test_hotkey_background_enum.exe and eight other Rust-static fixtures failed with lld-link: error: undefined symbol: obs_service_get_info_table (and obs_service_get_plugin_data, obs_service_set_plugin_data, obs_service_set_info), referenced from obs_output::ffi::service::CLifecycle. The shared Rust-static support archive reached those four through service-runtime-link-support.c, which includes obs-service.c.h, and they now live in obs-service-info-accessors.c.h.

GREEN: 8f07a6c adds test/cmocka/service-info-accessors-link-support.c as its own member of test/cmocka/build/rust-static-support.json. Locally:

uv run --no-project --with cmake==3.31.10 --with ninja==1.13.0 ci/cmocka_link_check.py --alias win-x64 --jobs 8

exit 0, no undefined symbols. ./lint clean.

@rdoupe
rdoupe added this pull request to the merge queue Nov 20, 2026
Merged via the queue into master with commit b7d2e5c Nov 20, 2026
44 checks passed
@rdoupe
rdoupe deleted the test/3840-service-info-plugin-data branch November 20, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant