Skip to content

Commit 5a09084

Browse files
aykevldeadprogram
authored andcommitted
os: add stub Symlink for wasm
This doesn't do anything, but it makes tests work.
1 parent 6c90747 commit 5a09084

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/os/file_other.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ func Pipe() (r *File, w *File, err error) {
134134
return nil, nil, ErrNotImplemented
135135
}
136136

137+
func Symlink(oldname, newname string) error {
138+
return ErrNotImplemented
139+
}
140+
137141
func Readlink(name string) (string, error) {
138142
return "", ErrNotImplemented
139143
}

0 commit comments

Comments
 (0)