os: implement Getwd

This commit is contained in:
Federico G. Schwindt
2021-10-04 23:14:09 +01:00
committed by GitHub
parent 98fbf7ff25
commit b1ec8eb2e0
5 changed files with 47 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
// +build baremetal wasi wasm
// This file emulates some file-related functions that are only available
// under a real operating system.
package syscall
func Getwd() (string, error) {
return "", nil
}