File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ go-compiler: go/$(GO_VERSION)
7676# into other text, and a local development server that serves a read-only
7777# view of your source code and is not intended for production use.
7878go/$(GO_VERSION ) :
79- mkdir -p go/$(GO_VERSION ) && cd go/$(GO_VERSION ) && curl -LO https://go.dev/dl/go$(GO_VERSION ) .src.tar.gz && tar xzf go$(GO_VERSION ) .src.tar.gz
79+ mkdir -p go/$(GO_VERSION ) && touch go/go.mod # Disable the Go language server in this folder
80+ cd go/$(GO_VERSION ) && curl -LO https://go.dev/dl/go$(GO_VERSION ) .src.tar.gz && tar xzf go$(GO_VERSION ) .src.tar.gz
8081 cd go/$(GO_VERSION ) /go && grep -qF " ctxt.buildinfo()" src/cmd/link/internal/ld/main.go # Make sure this call is still there
8182 cd go/$(GO_VERSION ) /go/src/cmd/link/internal/ld && sed " s/ctxt.buildinfo/\\ /\\ /ctxt.buildinfo/" main.go > temp && mv temp main.go
8283 cd go/$(GO_VERSION ) /go/src && if uname | grep -qE " MINGW|WIN32|CYGWIN" ; then ./make.bat; else ./make.bash; fi
You can’t perform that action at this time.
0 commit comments