1 2 3 4 5 6 7 8 9 10
//go:build baremetal || (wasm && !wasip1 && !wasip2) || wasm_unknown // This file emulates some file-related functions that are only available // under a real operating system. package syscall func Getwd() (string, error) { return "", nil }