We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65345bf commit ee27db4Copy full SHA for ee27db4
wit/bindgen/testdata_test.go
@@ -74,7 +74,7 @@ func writeFile(t *testing.T, dir, pkgPath string, file *gen.File) {
74
}
75
76
77
-var canGo = sync.OnceValue[bool](func() bool {
+var canGo = sync.OnceValue(func() bool {
78
err := exec.Command("go", "version").Run()
79
return err == nil
80
})
0 commit comments