LuaRocks.org had a security incident in September 2026. Read the incident report.

cffi-lua

A portable C FFI for Lua 5.1+

$ luarocks install cffi-lua

This is a portable C FFI for Lua, based on libffi. It aims to be
mostly compatible with the LuaJIT FFI, but written from scratch
and compatible with different systems and CPU architectures.

It doesn't aim to provide strictly only what LuaJIT FFI provides;
there is also support for features from newer Lua versions as well
as various other extensions, both in its API and in its language
support.

Versions

0.2.4-1279 days ago57 downloads
0.2.3-13 years ago7,844 downloads
0.2.2-14 years ago(revision: 2)191 downloads
0.2.1-15 years ago888 downloads
0.2.0-15 years ago127 downloads
0.1.1-16 years ago152 downloads

Dependencies

lua >= 5.1

Dependency for

rawterm, scheduler, wau, wau, yamlscript, yamlstar

Manifests