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

fix: Reinstantiate after call to _start #135

Merged
merged 7 commits into from
Dec 6, 2022

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Dec 5, 2022

After a closer reading of: https://github.com/WebAssembly/WASI/blob/main/legacy/application-abi.md it looks likes _start is expected to be called at most once. This PR automatically reinstantiates a plugin after a call to _start so it can be used again.

CI caught a bug with the extism_version output which is fixed here: #139

@zshipko zshipko changed the title Reinstantiate after start call Reinstantiate after call to _start Dec 5, 2022
@nilslice nilslice changed the title Reinstantiate after call to _start fix: Reinstantiate after call to _start Dec 5, 2022
@zshipko zshipko force-pushed the reinstantiate-after-start-call branch from 7e34a65 to 65cd7c1 Compare December 5, 2022 18:38
@zshipko zshipko force-pushed the reinstantiate-after-start-call branch from 65cd7c1 to 84a4cea Compare December 5, 2022 22:46
@zshipko zshipko merged commit fee7348 into main Dec 6, 2022
@zshipko zshipko deleted the reinstantiate-after-start-call branch December 6, 2022 00:18
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

1 participant