diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-19 15:41:22 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2020-02-19 15:42:19 -0800 |
commit | 660cfdff3f2ac771c6f0f18834921cfc043b2f3a (patch) | |
tree | 14c93d2f2811d1c4d06f7a10172ff3bb5a3f6e4e /pkg/sentry/socket/netstack/device.go | |
parent | 3a20eccf8b2d30eeff60f616a3e1d0d15c6ffac4 (diff) |
Handle situations where go-marshal generates an empty test file.
This can happen due to conditional compilation, where a subset of the
source files contain no marshallable types. go-marshal is still
required to write an output file in these cases, since bazel defines
the output package before calling go-marshal.
PiperOrigin-RevId: 296074321
Diffstat (limited to 'pkg/sentry/socket/netstack/device.go')
0 files changed, 0 insertions, 0 deletions