-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed as duplicate of#75077
@duxingzhe Output of
Description
Go version
go version go1.25.0 windows/amd64
Output of go env
in your module/workspace:
set AR=ar set CC=gcc set CGO_CFLAGS=-O2 -g set CGO_CPPFLAGS= set CGO_CXXFLAGS=-O2 -g set CGO_ENABLED=1 set CGO_FFLAGS=-O2 -g set CGO_LDFLAGS=-O2 -g set CXX=g++ set GCCGO=gccgo set GO111MODULE= set GOAMD64=v1 set GOARCH=amd64 set GOAUTH=netrc set GOBIN= set GOCACHE=C:\Users\myfat\AppData\Local\go-build set GOCACHEPROG= set GODEBUG= set GOENV=C:\Users\myfat\AppData\Roaming\go\env set GOEXE=.exe set GOEXPERIMENT= set GOFIPS140=off set GOFLAGS= set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\myfat\AppData\Local\Temp\go-build70127185=/tmp/go-build -gno-record-gcc-switches set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOINSECURE= set GOMOD=NUL set GOMODCACHE=C:\Users\myfat\go\pkg\mod set GONOPROXY= set GONOSUMDB= set GOOS=windows set GOPATH=C:\Users\myfat\go set GOPRIVATE= go: stripping unprintable or unescapable characters from %"GOPROXY"% set GOPROXY=https://goproxy.cn,direct� set GOROOT=D:\Go set GOSUMDB=sum.golang.org set GOTELEMETRY=local set GOTELEMETRYDIR=C:\Users\myfat\AppData\Roaming\go\telemetry set GOTMPDIR= set GOTOOLCHAIN=auto set GOTOOLDIR=D:\Go\pkg\tool\windows_amd64 set GOVCS= set GOVERSION=go1.25.0 set GOWORK= set PKG_CONFIG=pkg-config
What did you do?
I use official sqlite drive in 1.24.6 and it works find. Then I noticed that 1.25.0 has been released. So I download and use it. I compiled the source code and then it went wrong. It couldn't compile sqlite driver properly and noticed me that the exe file could work on Window 11. However, the same code is working on 1.24.6.
What did you see happen?
The release version of 1.25.0 of Go on Windows couldn't use the sqlite driver and prompted error to me. But when I try to use the same version on Linux(Ubuntu), it's working fine. I was so confused. So I come to make an issue.
What did you expect to see?
The sqlite driver could work properly both on Windows and Linux. I didn't test it on macOS.