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 + wails build error #897

Closed
Nyx2022 opened this issue Dec 7, 2024 · 1 comment
Closed

garble + wails build error #897

Nyx2022 opened this issue Dec 7, 2024 · 1 comment

Comments

@Nyx2022
Copy link

Nyx2022 commented Dec 7, 2024

What version of Garble and Go are you using?

$ garble version
mvdan.cc/garble v0.13.0

$ go version
go version go1.23.3 windows/amd64

What environment are you running Garble on?

go env
$ go env
set GO111MODULE=on
                  set GOARCH=amd64
set GOBIN=
set GOCACHE=……
set GOENV=……
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=……
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=……
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
go: stripping unprintable or unescapable characters from %"GOROOT"%
set GOROOT=……
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
go: stripping unprintable or unescapable characters from %"GOTOOLDIR"%
set GOTOOLDIR=……windows-amd64\go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.23.3
set GODEBUG=
set GOTELEMETRY=local
set GOTELEMETRYDIR=……
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=……
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=……

What did you do?

use garble to build a application in wails v3 :

garble -literals -tiny -seed=random build -v -gcflags=all="-l" -o bin/xxx.exe

What did you expect to see?

run it normally

What did you see instead?

exit with error: zuqa9lT3.go:1: cannot convert e4pcLLDbJ7 (variable of type FileFilter) to type YVvZpMHlg_A.CxRIwz

@Nyx2022 Nyx2022 changed the title garble + wails garble + wails build error Dec 7, 2024
@lu4p
Copy link
Member

lu4p commented Dec 7, 2024

This is already tracked as #849

@lu4p lu4p closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
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