Hello,
I'm using [go-git/go-git] in my side-project. This project is supposed to be a plugin running in [extism] and therefore need to be cmpiled to wasi.
The problem is that when targeting wasi with tinygo I end up with the following error :
../../../go/pkg/mod/github.com/go-git/go-billy/v5@v5.6.2/osfs/os_wasip1.go:30:17: undefined: syscall.Umask
../../../go/pkg/mod/github.com/go-git/go-billy/v5@v5.6.2/osfs/os_wasip1.go:32:11: undefined: syscall.Umask
The way I understand it is that syscall.Umask does not exist in tinygo. I've been told (but could'nt find any matching sources) that tinygo expose an os.Umask instead.
I don't know if this would be the solution to fix compiling to wasi ?
Hello,
I'm using [go-git/go-git] in my side-project. This project is supposed to be a plugin running in [extism] and therefore need to be cmpiled to wasi.
The problem is that when targeting wasi with tinygo I end up with the following error :
../../../go/pkg/mod/github.com/go-git/go-billy/v5@v5.6.2/osfs/os_wasip1.go:30:17: undefined: syscall.Umask../../../go/pkg/mod/github.com/go-git/go-billy/v5@v5.6.2/osfs/os_wasip1.go:32:11: undefined: syscall.UmaskThe way I understand it is that
syscall.Umaskdoes not exist in tinygo. I've been told (but could'nt find any matching sources) that tinygo expose anos.Umaskinstead.I don't know if this would be the solution to fix compiling to wasi ?