Skip to content

cc,wasi: support WASI reactors via -mexec-model flag. #9052

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

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

mathetake
Copy link
Contributor

Based on this patch to LLVM (https://reviews.llvm.org/D62922). This partially resolves (only for zig cc) #6757

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
@mathetake
Copy link
Contributor Author

reopened from #8978

@kubkon
Copy link
Member

kubkon commented Jun 9, 2021

reopened from #8978

Thanks @mathetake, and sorry for the trouble!

@kubkon
Copy link
Member

kubkon commented Jun 9, 2021

@mathetake are you on Zig's discord by any chance? Would you be able to provide an example C that acts as a reactor, and one that acts as a command, and then how to invoke either using a runtime such as Wasmtime?

@kubkon kubkon merged commit bf568ec into ziglang:master Jun 9, 2021
@kubkon
Copy link
Member

kubkon commented Jun 9, 2021

@mathetake merged! It'd be awesome if you joined our Discord server and we could discuss how to use reactor/command and perhaps come up with a plan on how to tackle that in Zig's libstd. Thanks for your great contribution!

@mathetake
Copy link
Contributor Author

@kubkon yeah I joined a few days ago but not login since then.. let me post some examples in a few days, see you there! Thanks!

@mathetake mathetake deleted the cc-wasi-execmodel branch June 9, 2021 09:34
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