We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I am trying to use the following package: "google.golang.org/protobuf/proto" And in particular:
func (ctx *setBodyContext) OnHttpRequestBody(bodySize int, endOfStream bool) types.Action { _ = proto.String("x") return types.ActionContinue }
I get the following error during Envoy startup: Failed to load Wasm module due to a missing import: wasi_snapshot_preview1.fd_filestat_get
When I give up this package the error is gone and the module loads successfully.
envoyproxy/envoy-dev:ce4845329292c3b896fc0d26d5555e6ab54a30b7
Commit bd6f69563ef44496906d57b61980af76d365b5ca
tinygo version 0.25.0 windows/amd64 (using go version go1.19 and LLVM version 14.0.0)
http_filters: - name: envoy.filters.http.wasm typed_config: "@type": type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm config: vm_config: runtime: "envoy.wasm.runtime.v8" code: local: filename: "grpc.wasm"
Original issue was opened in the Go-SDK repository, redirected to the host repository: tetratelabs/proxy-wasm-go-sdk#324
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug / error
When I am trying to use the following package: "google.golang.org/protobuf/proto"
And in particular:
I get the following error during Envoy startup:
Failed to load Wasm module due to a missing import: wasi_snapshot_preview1.fd_filestat_get
When I give up this package the error is gone and the module loads successfully.
What is your Envoy/Istio version?
envoyproxy/envoy-dev:ce4845329292c3b896fc0d26d5555e6ab54a30b7
What is the SDK version?
Commit bd6f69563ef44496906d57b61980af76d365b5ca
What is your TinyGo version?
tinygo version 0.25.0 windows/amd64 (using go version go1.19 and LLVM version 14.0.0)
URL or snippet of your code including Envoy configuration
Additional context (Optional)
Original issue was opened in the Go-SDK repository, redirected to the host repository:
tetratelabs/proxy-wasm-go-sdk#324
The text was updated successfully, but these errors were encountered: