Skip to content

Share table index and range rules with compiled embedders - #139

Merged
gak merged 2 commits into
mainfrom
codex/rustia-compiled-table-operations
Nov 28, 2026
Merged

gak merged 2 commits into
mainfrom
codex/rustia-compiled-table-operations

Conversation

@gak

@gak gak commented Nov 27, 2026

Copy link
Copy Markdown
Member

Refs #89

Changes

  • Share standard table index validation, allocation size, and overlap-safe range traversal between the VM and compiled embedders.
  • Keep Rustia’s table storage, raw access, mutation admission, and fuel accounting in the existing VM path.
  • Cover forward and backward aliasing, distinct tables, empty ranges, signed boundaries, and destination overflow.

The downstream compiled runtime can use the same rules while migrating its table storage to the VM.

@gak
gak changed the base branch from codex/rustia-hosted-string-values to main November 28, 2026 02:27
@gak
gak marked this pull request as ready for review November 28, 2026 02:27
@gak
gak merged commit e3706c6 into main Nov 28, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant