-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
can't handle github.com/gogo/protobuf/proto #786
Comments
Ugly workaround I use: |
Duplicate of #685, and already fixed in master :) |
But i use the last release, and still gives me this error.
|
|
Missed tag maybe? (i see a lot of differente between last release and master) |
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This was build with error + this template + chatGPT (i validate the data)
What version of Garble and Go are you using?
What environment are you running Garble on?
go env
OutputWhat did you do?
garble -literals -tiny -seed=random build
-seed chosen at random: nrdlvv8MxZNzy9Tp1TXGvA
github.com/gogo/protobuf/proto
:1: cannot use new(struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) (value of type *struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) as *struct{mu sync.BEz3NBaS9; extensionMap map[int32]Extension} value in assignment
:1: cannot use new(struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) (value of type *struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) as *struct{mu sync.BEz3NBaS9; extensionMap map[int32]Extension} value in struct literal
exit status 2
exit status 1
What did you expect to see?
Expected output: The application should be successfully garbled without any errors.
What did you see instead?
Actual output: I encountered the following error message while trying to build the application using Garble:
garble -literals -tiny -seed=random build
-seed chosen at random: nrdlvv8MxZNzy9Tp1TXGvA
github.com/gogo/protobuf/proto
:1: cannot use new(struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) (value of type *struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) as *struct{mu sync.BEz3NBaS9; extensionMap map[int32]Extension} value in assignment
:1: cannot use new(struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) (value of type *struct{aBzYs1 sync.BEz3NBaS9; pe7Ndk3aUL map[int32]Extension}) as *struct{mu sync.BEz3NBaS9; extensionMap map[int32]Extension} value in struct literal
exit status 2
exit status 1
The text was updated successfully, but these errors were encountered: