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

Load and run workers with installed runtimes #80

Closed
Tracked by #63
Angelmmiguel opened this issue Feb 1, 2023 · 0 comments · Fixed by #81
Closed
Tracked by #63

Load and run workers with installed runtimes #80

Angelmmiguel opened this issue Feb 1, 2023 · 0 comments · Fixed by #81
Assignees
Labels
🚀 enhancement New feature or request
Milestone

Comments

@Angelmmiguel
Copy link
Contributor

Angelmmiguel commented Feb 1, 2023

Now that developers can install new runtimes (#68), wws should pick the installed ones and run workers based on it. For that, it will identify the new file extensions to look for files and then, prepare the worker and configure the WASI context.

If a language runtime is present in the .wws.toml config (see #67) and it's not installed, wws will show a warning message indicating they are not installed and some workers won't run.

This will require a new src/runtimes/runtime/external.rs struct that properly configures the installed language runtime and the WASI context. All this must come from metadata as developers may create their own set of runtimes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant