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

JIT compiler support with #[no_std] for embedded devices ? #7700

Closed
LordCasser opened this issue Dec 18, 2023 · 2 comments
Closed

JIT compiler support with #[no_std] for embedded devices ? #7700

LordCasser opened this issue Dec 18, 2023 · 2 comments

Comments

@LordCasser
Copy link

There is just a use case, I'd like to make the wasm JIT compiler a part of VM-OS.

@alexcrichton
Copy link
Member

You'll find some more discussion about this here, but I'll also want to point out this section of our documentation. If you have a target you're interested in supporting we'd love to discuss more, but #![no_std] won't work "out of the box" today.

In terms of bare-bones requirements Wasmtime at this time requires virtual memory (e.g. an MMU). I've got a branch I haven't upstreamed which distills Wasmtime's base runtime requirements to this C API which would need to be supported by the system.

@alexcrichton
Copy link
Member

Wasmtime now supports no_std itself and otherwise having Cranelift support it is tracked at #1158, so I'm going to close this.

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