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

Fixes for TinyGo 0.26.0 #9

Merged
merged 3 commits into from
Nov 20, 2022
Merged

Fixes for TinyGo 0.26.0 #9

merged 3 commits into from
Nov 20, 2022

Conversation

mathetake
Copy link
Contributor

Fixes #7 #8

Signed-off-by: Takeshi Yoneda takeshi@tetrate.io

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
@@ -289,7 +289,9 @@ func genPluginMethod(g *protogen.GeneratedFile, f *fileInfo, method *protogen.Me
g.P("data, err := request.MarshalVT()")
g.P(errorHandling)
g.P("dataSize := uint64(len(data))")

g.P(`if dataSize == 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix!

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
@knqyf263 knqyf263 merged commit 83330ad into knqyf263:main Nov 20, 2022
@knqyf263
Copy link
Owner

Great! Thanks!

@codefromthecrypt
Copy link
Collaborator

sorry I had noticed the tinygo problem earlier, but should have escalated it.

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.

wasm error running example
3 participants