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

garble build main.go error, please help me #776

Closed
1191569886 opened this issue Jul 6, 2023 · 4 comments
Closed

garble build main.go error, please help me #776

1191569886 opened this issue Jul 6, 2023 · 4 comments

Comments

@1191569886
Copy link

garble version
mvdan.cc/garble v0.10.1
go version
go version go1.20.5 windows/amd64

go build main.go Compilation successful ,but garble build main.go Compilation error,The following is the error message:

garble build main.go

github.com/golang/protobuf/proto

AqlE_wY_3c.go:1: cannot use new(struct{dgsJzbvENJL5 sync.WtQNIK6CP; pJhuVFDGmle map[int32]Extension}) (value of type *struct{dgsJzbvENJL5 sync.WtQNIK6CP; pJhuVFDGmle map[int32]Extension}) as *struct{mu sync.WtQNIK6CP; extensionMap map[int32]Extension} value in assignment
exit status 2
exit status 1

please help me ,think you

@1191569886
Copy link
Author

image

@mvdan
Copy link
Member

mvdan commented Jul 8, 2023

Duplicate of #685. Not the same package, but exactly the same error.

@mvdan mvdan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2023
@1191569886
Copy link
Author

1191569886 commented Jul 8, 2023 via email

1 similar comment
@1191569886
Copy link
Author

1191569886 commented Jul 8, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants