github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/syscall/file_emulated.go (about) 1 //go:build baremetal || (wasm && !wasip1) || wasm_unknown 2 3 // This file emulates some file-related functions that are only available 4 // under a real operating system. 5 6 package syscall 7 8 func Getwd() (string, error) { 9 return "", nil 10 }