diff options
author | James McCoy <jamessan@jamessan.com> | 2023-09-27 20:44:50 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2023-09-28 22:36:14 -0400 |
commit | 9afbfb4d646cd240e97dbaae109f12bfc853112c (patch) | |
tree | cdca423c150fe5a911088df01edd21b6192186a8 /src/nvim/api/options.c | |
parent | b917db062fc673dfbbc6a8c722b05101319ab44e (diff) | |
download | rneovim-9afbfb4d646cd240e97dbaae109f12bfc853112c.tar.gz rneovim-9afbfb4d646cd240e97dbaae109f12bfc853112c.tar.bz2 rneovim-9afbfb4d646cd240e97dbaae109f12bfc853112c.zip |
fix(unittests): ignore __s128 and __u128 types in ffi
Linux added these types to their userspace headers in [6.5], which
causes unit tests to fail like
```
-------- Running tests from test/unit/api/private_helpers_spec.lua
RUN vim_to_object converts true: 17.00 ms ERR
test/unit/helpers.lua:748: test/unit/helpers.lua:732: (string) '
test/unit/helpers.lua:264: ';' expected near '__s128' at line 194'
exit code: 256
stack traceback:
test/unit/helpers.lua:748: in function 'itp_parent'
test/unit/helpers.lua:784: in function <test/unit/helpers.lua:774>
```
Since we don't use these types, they can be ignored to avoid LuaJIT's C
parser choking on them.
[6.5]: https://github.com/torvalds/linux/commit/224d80c584d3016cb8d83d1c33914fdd3508aa8c
Diffstat (limited to 'src/nvim/api/options.c')
0 files changed, 0 insertions, 0 deletions