Skip to content

Conversation

@joshua-spacetime
Copy link
Collaborator

Description of Changes

Updates the rust module bindings to use new view abi (ViewResultHeader) and updates the return codes for the __call_view__ and __call_view_anon__ module exports. This is in preparation for Query builder support.

API and ABI breaking changes

Not breaking. Existing modules will continue to use the old abi. New modules will use the new abi. However previous host versions will not support modules built using this version of the bindings.

Expected complexity level and risk

2

Testing

This is an internal refactor. All existing tests should continue to pass. The only tests that needed updating were the negative module compilation tests because the error messages produced by rustc changed.

@joshua-spacetime joshua-spacetime linked an issue Dec 4, 2025 that may be closed by this pull request
@joshua-spacetime joshua-spacetime force-pushed the joshua/switch-view-bindings-to-new-abi branch from 99d2259 to 2f56bc7 Compare December 4, 2025 07:41
Copy link
Contributor

@Shubham8287 Shubham8287 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this, looks good!

@joshua-spacetime joshua-spacetime changed the title Update rust module bindings to use new view abi [Rust] update module bindings to use new view abi Dec 4, 2025
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Dec 4, 2025
Merged via the queue into master with commit 60048ec Dec 4, 2025
28 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/switch-view-bindings-to-new-abi branch December 4, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Rust] Module bindings for query builder

3 participants