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

[Query] Compile to WASI #64

Closed
tangledbytes opened this issue Sep 25, 2021 · 2 comments
Closed

[Query] Compile to WASI #64

tangledbytes opened this issue Sep 25, 2021 · 2 comments

Comments

@tangledbytes
Copy link

Apologies for the stupid question, just wanted to know if we can compile Aya userspace programs to WASI?

Use Case: Compile aya userspace programs to WASI and execute them in runtimes like wasmtime.

@alessandrod
Copy link
Collaborator

Aya requires the bpf() syscall to be available. Say you forked wasmtime to expose that, then I think compiling aya itself would probably be relatively easy. Is that the kind of thing you have in mind?

@tangledbytes
Copy link
Author

Thanks for this @alessandrod. Yes, that's about right. Now looking for a way to add bpf syscall without maintaining a fork. Please feel free to close the issue.

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

2 participants