-
Notifications
You must be signed in to change notification settings - Fork 97
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
Is this ready for use with Envoy? #3
Comments
@PiotrSikora I'd love to get an answer to this. Thanks a bunch in advance! |
@antweiss I hit the same issue with missing malloc/free. Are you using wasme deploy envoy to test locally by any chance? If so, I think the default envoy docker image it uses (quay.io/solo-io/gloo-envoy-wasm-wrapper:1.3.5) uses an outdated ABI not supported by this SDK (at least I think that's what's happening). It works fine with Istio's version of Envoy, like so: wasme deploy envoy <image-name> --envoy-image=istio/proxyv2:1.5.1 I initially got around the malloc/free problem by exporting a stub |
@charypar Thanks a lot for this! Yes - the malloc/free issue comes from Gloo version of Envoy. I also tried with a self-built Wasm-enabled Envoy binary - and got |
@charypar you were right - works like charm :) thanks again! |
Described my experience writing a filter using Rust sdk here: https://antweiss.com/blog/extending-envoy-with-wasm-and-rust/ |
Fun, I did the same thing here @antweiss: https://blog.red-badger.com/extending-istio-with-rust-and-webassembly, just took me longer to get it published 😄 |
same problem here, I solved by using |
Envoy 1.7 is out!!! and it supports wasm. |
Thanks, I'm glad that everything works for you! I'll keep the bug open as a reminder to put a list of compatible host environments in the documentation that I'm working on. |
Is there any typescript examples? |
Sync to upstream, which fixes build
Create basic CODEOWNERS file
I tried to use the WASM filters built from project examples in WASM-enabled Envoy but got: "WASM missing malloc/free"
Is this ready to play with? Should the examples work? Do they require a special Envoy build?
The text was updated successfully, but these errors were encountered: