Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: add bytemuck support to GuestMemory #12

Closed
marceline-cramer opened this issue Jan 29, 2023 · 0 comments · Fixed by #47
Closed

wasm: add bytemuck support to GuestMemory #12

marceline-cramer opened this issue Jan 29, 2023 · 0 comments · Fixed by #47
Assignees
Labels
enhancement New feature or request

Comments

@marceline-cramer
Copy link
Collaborator

Add generic bytemuck-compatible functions to GuestMemory to read custom structs and custom slices of structs from guest memory.

Canary's source has an example of this working: https://git.tebibyte.media/canary/canary-rs/src/commit/4b89e781b06cfe4fff045a35bb77bdbfd6b675a0/src/backend/wasmtime.rs#L206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants