Skip to content

feat(core-wasm): transfer bounded stream chunks through caller memory - #15

Merged
zackees merged 1 commit into
mainfrom
feat/bounded-stream-caller-memory
Sep 14, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/bounded-stream-caller-memory

Conversation

@zackees

@zackees zackees commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Summary

Implements the reserved Core-Wasm stream controls as bounded synchronous caller-memory transfers. Generated guest stream handles expose read(&mut [u8]) / write(&[u8]), enforce 64 KiB chunks, and close through the canonical host registry. The Wasmtime linker validates memory ranges before consuming a stream, preserves wasm32 pointer bits, and rejects invalid host counts.

Validation

  • RUSTUP_TOOLCHAIN=1.95.0 soldr cargo fmt --all -- --check
  • RUSTUP_TOOLCHAIN=1.95.0 soldr cargo test --locked -p fp-bindgen --no-default-features --features wasmtime45-integration
  • Astra source review: clean after range/pointer fixes.

Progresses #1. Coordinated with forge-ci/kernal-api#13.

@zackees
zackees merged commit af2360e into main Sep 14, 2026
6 of 7 checks passed
@zackees
zackees deleted the feat/bounded-stream-caller-memory branch September 14, 2026 13:01
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