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

Runing on wasi #1051

Open
SeanDongX opened this issue Sep 23, 2021 · 3 comments
Open

Runing on wasi #1051

SeanDongX opened this issue Sep 23, 2021 · 3 comments

Comments

@SeanDongX
Copy link

SeanDongX commented Sep 23, 2021

Has anyone figured how to run the examples on wasi/native wasm runtime(not directly on native)?
I tried to run some examples with cargo wasi but all of them ended up with errors.

@kaimast
Copy link

kaimast commented Jan 10, 2022

(Deleted my earlier post as I misunderstood; you don't want to run this in the browser but locally through WASI)

@hecrj
Copy link
Member

hecrj commented Jan 22, 2022

The native path of the ecosystem cannot be compiled to Wasm yet!

@Alch-Emi
Copy link
Contributor

Would someone with more know-how than me mind elaborating on how this would work? I was under the impression that it was technically impossible to compile a UI application to WASI. Especially:

  • How do you identify what platform / display server is active in the environment? (are these separate targets? determined at runtime?)
  • What WASI interface(s) do you use to talk to the display server? (especially since networking doesn't exist outside of cases like lunatic-systems right now)
  • Are there any examples of GUIs or GUI libs running under WASI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants