github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/os_wasip1.go (about)

     1  //go:build wasip1
     2  
     3  package runtime
     4  
     5  // The actual GOOS=wasip1, as newly added in the Go 1.21 toolchain.
     6  // Previously we supported -target=wasi, but that was essentially faked by using
     7  // linux/arm instead because that was the closest thing that was already
     8  // supported in the Go standard library.
     9  
    10  const GOOS = "wasip1"