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

Change Pool to hold a callback instead of a set of grants? #339

Open
sunfishcode opened this issue Dec 11, 2023 · 0 comments
Open

Change Pool to hold a callback instead of a set of grants? #339

sunfishcode opened this issue Dec 11, 2023 · 0 comments

Comments

@sunfishcode
Copy link
Member

In bytecodealliance/wasmtime#7662, there is discussion that a callback would be more useful than a simple set of allowed addresses. If that's true for Wasmtime, then it's true for cap-std in general, so we should consider migrating cap-std in that direction too.

The current code that maintains a list of allowed addresses could be factored out into a utility that users could use to implement the callback if they need that functionality.

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

No branches or pull requests

1 participant