diff options
Diffstat (limited to 'vendor/github.com/tetratelabs/wazero/sys/stat_unsupported.go')
-rw-r--r-- | vendor/github.com/tetratelabs/wazero/sys/stat_unsupported.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/github.com/tetratelabs/wazero/sys/stat_unsupported.go b/vendor/github.com/tetratelabs/wazero/sys/stat_unsupported.go deleted file mode 100644 index cc37012cf..000000000 --- a/vendor/github.com/tetratelabs/wazero/sys/stat_unsupported.go +++ /dev/null @@ -1,14 +0,0 @@ -//go:build (!((amd64 || arm64 || riscv64) && linux) && !((amd64 || arm64) && (darwin || freebsd)) && !((amd64 || arm64) && windows)) || js - -package sys - -import "io/fs" - -// sysParseable is only used here as we define "supported" as being able to -// parse `info.Sys()`. The above `go:build` constraints exclude 32-bit until -// that's requested. -const sysParseable = false - -func statFromFileInfo(info fs.FileInfo) Stat_t { - return defaultStatFromFileInfo(info) -} |