Skip to content

x/playground: build timeout when enabling experiment #73449

@dolmen

Description

@dolmen

Go version

go1.24.2 X:noswissmap

What did you do?

Running a program with GOEXPERIMENT=noswissmap times out during build:

$ curl -s -X POST --data-urlencode body@- https://play.golang.org/compile <<EOF
// GOEXPERIMENT=noswissmap
package main
import ("fmt";"runtime")
func main() {
          fmt.Println(runtime.Version())
}
EOF
{"Errors":"timeout running go build\n","Events":null,"Status":0,"IsTest":false,"TestsFailed":0}

However running the same program without GOEXPERIMENT works fine:

$ curl -s -X POST --data-urlencode body@- https://play.golang.org/compile <<EOF
package main
import ("fmt";"runtime")
func main() {
          fmt.Println(runtime.Version())
}
EOF
{"Errors":"","Events":[{"Message":"go1.24.2\n","Kind":"stdout","Delay":0}],"Status":0,"IsTest":false,"TestsFailed":0}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions