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

Add elementary wasi support #91

Merged
merged 2 commits into from
Nov 21, 2019
Merged

Add elementary wasi support #91

merged 2 commits into from
Nov 21, 2019

Conversation

dunnock
Copy link
Contributor

@dunnock dunnock commented Nov 18, 2019

Pbr is referenced from many crates and provides really cool reporting capabilities. Though at the moment compiling to wasm32-wasi is failing, nevertheless it provides elementary stdout capabilities.

This PR adds wasi target support allowing to compile dependant crates, but also inheriting cursor control from unix which is most common deployment platform for terminal-like software. On other terminals it will still work, though not so nice until good tty support is added to WASI core spec, here is discussion in the past about the topic WebAssembly/WASI#42

@a8m
Copy link
Owner

a8m commented Nov 21, 2019

Thanks for your contribution @dunnock.

@a8m a8m merged commit 6235728 into a8m:master Nov 21, 2019
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