summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2020-04-01 16:50:16 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-01 16:51:28 -0700
commit1561ae3037e5a3efdd26320f229fc4c602258dba (patch)
tree23749691318ccd454c6799bc8bd5fe1ff7a8edcb /pkg/sentry
parentaecd3a25a99bc04fe2c032ea3422f10b2dba3256 (diff)
go-marshal: Allow array lens to be consts and simple expressions.
Previously, go-marshal only allowed literals for array lengths. However, it's very common for ABI structs to have a fix-sized array whose length is defined by a constant; for example PATH_MAX. Having to convert all such arrays to have literal lengths is too awkward. PiperOrigin-RevId: 304289345
Diffstat (limited to 'pkg/sentry')
0 files changed, 0 insertions, 0 deletions