Skip to content

fix(cu_resources_test): resource bindings after shared-resource refactor#752

Merged
gbin merged 2 commits into
masterfrom
yang/chore/cu_resources_test
Jan 28, 2026
Merged

fix(cu_resources_test): resource bindings after shared-resource refactor#752
gbin merged 2 commits into
masterfrom
yang/chore/cu_resources_test

Conversation

@makeecat

Copy link
Copy Markdown
Collaborator

Summary

Updates the cu_resources_test example to align bridge resource bindings with the new resources!/Shared<T> pattern and shared resource storage, eliminating the runtime type-mismatch when binding stats_a.

Details

  • examples/cu_resources_test/src/bridges.rs: Switches StatsBridge to resources! bindings with Shared<SharedBus|String|GlobalLog> and clones concrete values in new().
  • examples/cu_resources_test/src/bridges.rs: Removes legacy ResourceBindings/Arc<T> expectations in the bridge to match the post-refactor resource storage and task usage.

…dules and updated task resource types; removed nested Arc storage in resources and made SharedBus/GlobalLog cloneable; added shared record helper for global logging
…ed he concrete values to match the updated task pattern
@makeecat makeecat requested a review from gbin January 28, 2026 02:54
@makeecat makeecat self-assigned this Jan 28, 2026
@makeecat makeecat added bug Something isn't working exclude from changelog labels Jan 28, 2026
@gbin gbin merged commit da99bd7 into master Jan 28, 2026
26 checks passed
@gbin gbin deleted the yang/chore/cu_resources_test branch January 28, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working exclude from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants