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

feat: support EXTISM_ENABLE_WASI_OUTPUT #51

Merged
merged 4 commits into from Jan 2, 2024
Merged

feat: support EXTISM_ENABLE_WASI_OUTPUT #51

merged 4 commits into from Jan 2, 2024

Conversation

nilslice
Copy link
Member

@nilslice nilslice commented Jan 2, 2024

for any program that embeds the Go SDK,

EXTISM_ENABLE_WASI_OUTPUT=1 extism call code.wasm foo --wasi 
will print things from e.g. fmt.Println (to stdout or stderr as needed)

brings the SDK into parity with the Rust runtime which has the same behavior.

extism.go Outdated Show resolved Hide resolved
nilslice and others added 2 commits January 2, 2024 15:31
@nilslice nilslice merged commit 43f5bda into main Jan 2, 2024
3 checks passed
@nilslice nilslice deleted the wasi-output branch January 2, 2024 22:36
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.

None yet

2 participants