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 ww run command. #112

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Add ww run command. #112

merged 1 commit into from
Apr 18, 2023

Conversation

lthibault
Copy link
Collaborator

This PR provides a command for executing WASM binaries locally. It is part of the workstream to break #111 into smaller chunks.

Commented code will be uncommented in a follow-up commit that adds piecemeal support for the ww host module.

If you want to test this, try compiling the following with tinygo -o main.wasm -target=wasi main.go, and running it with ww run main.wasm.

package main

import "fmt"

// main.go

func main() {
    fmt.Println("hello, wetware!")
}

@lthibault lthibault added the enhancement New feature or request label Apr 18, 2023
@lthibault lthibault self-assigned this Apr 18, 2023
@lthibault lthibault merged commit e7899a8 into master Apr 18, 2023
@lthibault lthibault deleted the feat/ww-run-cmd branch April 18, 2023 18:54
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 this pull request may close these issues.

2 participants