-
Notifications
You must be signed in to change notification settings - Fork 100
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
Update namespace of Extism functions #504
Labels
enhancement
New feature or request
Comments
This was referenced Oct 11, 2023
This was referenced Oct 13, 2023
This was referenced Oct 19, 2023
zshipko
added a commit
that referenced
this issue
Oct 30, 2023
…extism:host/user` for user-defined host functions (#511) See #504 Removes CI for the in-repo SDKs, we can remove the actual code closer to the 1.0 release. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: zshipko <zshipko@users.noreply.github.com>
zshipko
added a commit
to extism/go-sdk
that referenced
this issue
Oct 30, 2023
This part of the extism/extism/issues/504 effort to move extism functions to `extism::env`. For backward compatibility reasons, I am also registering the functions in the `env` namespace. --------- Co-authored-by: zach <zach@dylibso.com>
zshipko
added a commit
to extism/python-sdk
that referenced
this issue
Oct 30, 2023
zshipko
added a commit
to extism/java-sdk
that referenced
this issue
Oct 31, 2023
New issue opened for the JS SDK. Will track remaining work there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we use the
env
namespace and prefix our functions withextism_
, we should be using a proper namespace, likeextism:host/env
instead. So instead ofenv::extism_alloc
, we could useextism:host/env::alloc
.For user-defined host functions we should defined to
extism:host/user
extism:host/env
namespace c-pdk#7extism:host/env
namespace rust-pdk#36extism:host/env
namespace go-pdk#19extism:host/env
dotnet-pdk#16extism:host/env
namespace haskell-pdk#6extism:host/env
namespace zig-pdk#14extism:host/env
namespace js-pdk#23extism:host/env
namespace assemblyscript-pdk#13env
namespace)extism/host:env
namespace java-sdk#11extism:host/env
namespace for extism functions andextism:host/user
for user-defined host functions #511extism:host/env
namespace go-sdk#31Plan
The text was updated successfully, but these errors were encountered: