Skip to content

feat(vm): freeze builtin call IDs - #12

Merged
fffonion merged 1 commit into
masterfrom
feat/static-builtin-call-ids
Aug 10, 2026
Merged

feat(vm): freeze builtin call IDs#12
fffonion merged 1 commit into
masterfrom
feat/static-builtin-call-ids

Conversation

@fffonion

Copy link
Copy Markdown
Collaborator

Summary

  • assign every VM-visible builtin an explicit immutable u16 call index
  • validate duplicate, missing, stale, and out-of-range catalog entries at build time
  • keep the checked-in pd-vm-nostd ID mirror synchronized with the standard catalog
  • use static IDs across bytecode validation, VMBC, AOT artifacts, debugger recordings, and native dispatch
  • document the reserved ordinary and special-call ID blocks

Scope

This branch is based directly on master and contains only the static builtin ID work. Host signature inference, HTTP, lifecycle, capability, and async-driver changes are excluded.

Validation

  • cargo fmt --all -- --check
  • cargo test --locked --workspace
  • cargo test --locked --workspace --all-features
  • cargo clippy --locked --workspace --all-targets -- -D warnings
  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings

@fffonion
fffonion merged commit c3d6de4 into master Aug 10, 2026
12 checks passed
@fffonion
fffonion deleted the feat/static-builtin-call-ids branch August 10, 2026 21:18
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