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

api/wasm: Make pmem writeToStorage an argument #2361

Closed
wants to merge 1 commit into from
Closed

api/wasm: Make pmem writeToStorage an argument #2361

wants to merge 1 commit into from

Conversation

peterhellberg
Copy link
Contributor

Related to #2360

Important

This changes the signature of wasmtic_pmem so might not be acceptable?

@joshgoebel
Copy link
Collaborator

This would be a breaking change. If we wanted to preserve the existing behavior you could use one of the high bits of the 64bit value as flags (and then mask it back out for the memory access) - or we could just add another API function entirely.

@peterhellberg
Copy link
Contributor Author

@joshgoebel Ok, thank you for your input. I'll close this PR.

@peterhellberg peterhellberg deleted the wasm/make-pmem-writeToStorage-an-argument branch November 19, 2023 12:49
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.

2 participants