-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
though xray-core requires go 1.16 (introduced in #421), there is a bug of go 1.6 golang/go#44129, i met this on gomobile.
this is not bug of xray-core.
@yuhan6665 do you met this?
@RPRX will possible to replace embed to others?
p.s. go 1.15 works on v2ray-core.
# Go 1.16
Error: ../../../../pkg/mod/golang.org/x/mobile@v0.0.0-20210220033013-bdb1ca9a1e08/internal/importers/ast.go:37:2: missing go.sum entry for module providing package golang.org/x/tools/go/packages (imported by golang.org/x/mobile/cmd/gobind); to add:
go get golang.org/x/mobile/cmd/gobind@v0.0.0-20210220033013-bdb1ca9a1e08
gomobile: go install -v golang.org/x/mobile/cmd/gobind failed: exit status 1
# Go 1.15
/rurirei/tmp/build/go/src/github.com/xtls/xray-core/transport/internet/websocket/dialer.go:5:2: package embed is not in GOROOT (/rurirei/tmp/usr/bin/go/1.15.10/x64/src/embed)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels