diff options
author | Rahat Mahmood <rahat@google.com> | 2020-04-01 16:50:16 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-01 16:51:28 -0700 |
commit | 1561ae3037e5a3efdd26320f229fc4c602258dba (patch) | |
tree | 23749691318ccd454c6799bc8bd5fe1ff7a8edcb /test/syscalls/linux/sync.cc | |
parent | aecd3a25a99bc04fe2c032ea3422f10b2dba3256 (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 'test/syscalls/linux/sync.cc')
0 files changed, 0 insertions, 0 deletions