diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-14 12:07:08 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-14 12:08:12 -0800 |
commit | 3c26f5ecb0087337b1f194b6d429ce68f3af70eb (patch) | |
tree | 1412498695e5797ed90147540fb232a2ed67be6f /pkg/abi/linux/time.go | |
parent | 4075de11be44372c454aae7f9650cdc814c52229 (diff) |
Enable automated marshalling for struct stat.
This requires fixing a few build issues for non-am64 platforms.
PiperOrigin-RevId: 295196922
Diffstat (limited to 'pkg/abi/linux/time.go')
-rw-r--r-- | pkg/abi/linux/time.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/abi/linux/time.go b/pkg/abi/linux/time.go index 5c5a58cd4..e562b46d9 100644 --- a/pkg/abi/linux/time.go +++ b/pkg/abi/linux/time.go @@ -101,6 +101,8 @@ func NsecToTimeT(nsec int64) TimeT { } // Timespec represents struct timespec in <time.h>. +// +// +marshal type Timespec struct { Sec int64 Nsec int64 |