mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
syscall: remove misleading comment about Stat_t fields
This commit is contained in:
committed by
Damian Gryski
parent
cf4a6d3253
commit
a6084767b3
@@ -163,7 +163,6 @@ type Dirent struct {
|
|||||||
Pad_cgo_0 [3]byte
|
Pad_cgo_0 [3]byte
|
||||||
}
|
}
|
||||||
|
|
||||||
// Go chose Linux's field names for Stat_t, see https://github.com/golang/go/issues/31735
|
|
||||||
type Stat_t struct {
|
type Stat_t struct {
|
||||||
Dev int32
|
Dev int32
|
||||||
Mode uint16
|
Mode uint16
|
||||||
|
|||||||
@@ -218,7 +218,6 @@ func (ts *Timespec) Unix() (sec int64, nsec int64) {
|
|||||||
// https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/headers/public/__struct_stat.h
|
// https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/headers/public/__struct_stat.h
|
||||||
// https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/headers/public/__typedef_ino_t.h
|
// https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/headers/public/__typedef_ino_t.h
|
||||||
// etc.
|
// etc.
|
||||||
// Go chose Linux's field names for Stat_t, see https://github.com/golang/go/issues/31735
|
|
||||||
type Stat_t struct {
|
type Stat_t struct {
|
||||||
Dev uint64
|
Dev uint64
|
||||||
Ino uint64
|
Ino uint64
|
||||||
|
|||||||
Reference in New Issue
Block a user