Add linked TinyBus module entrypoint - #10
Merged
Merged
Conversation
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00. Or wait 50 minutes for your next included review. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Comment |
Co-authored-by: Medulla <medulla@tinyhumans.ai>
senamakel
marked this pull request as ready for review
September 30, 2026 08:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
static-link(withlinkedas an alias) and usesmodule_export_optional_static!to select the Rust-addressable module export. The normal build keeps its dynamic C ABI. The nested TinyBus checkout is pinned to commit433d9edfrom tinyhumansai/tinybus#29.Draft readiness condition: TinyBus PR #29 must merge, then this repository must pin its merged commit and pass CI before this PR is marked ready or merged.
Related issue
None.
API or behavior changes
With
static-link, Rust hosts can calltinybox::linked_module()to register this module in process.linkedremains an alias forstatic-link.Validation
cargo check -p tinybox-module --lockedcargo check -p tinybox-module --features static-link --lockedcargo fmt --all -- --checkgit diff --checkTests
TinyBus PR #29 covers the shared module export behavior. Full repository suites were not run locally.
Documentation
The crate-root function has rustdoc; the TinyBus dependency PR documents the host registration API.
Checklist
#[ignore]or relaxed lint settings