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

     1  //go:build linux && (baremetal || nintendoswitch || wasi || wasm_unknown)
     2  
     3  // Other systems that aren't operating systems supported by the Go toolchain
     4  // need to pretend to be an existing operating system. Linux seems like a good
     5  // choice for this for its wide hardware support.
     6  
     7  package runtime
     8  
     9  const GOOS = "linux"