FEATURE REQUEST
To easily integrate fibers into our work we should make an OpenWrt makefile for it. As a pure Lua package it should be relatively straightforward - there's lots of examples in our jng_openwrt_packages repo (for example lua-lumen and lua-http).
To use LuaJIT all the packages needed are already in OpenWrt's repos/already have been ported. However, if we were to use plain Lua, we will need to port cffi-lua. This is a C++ program so will need a slightly more complex makefile. It's worth looking to see how OpenWrt deals with other Meson packages. Buiilding cffi-lua on the command line is quite simple, we do so in the devcontainer process in the repo
FEATURE REQUEST
To easily integrate fibers into our work we should make an OpenWrt makefile for it. As a pure Lua package it should be relatively straightforward - there's lots of examples in our jng_openwrt_packages repo (for example lua-lumen and lua-http).
To use LuaJIT all the packages needed are already in OpenWrt's repos/already have been ported. However, if we were to use plain Lua, we will need to port cffi-lua. This is a C++ program so will need a slightly more complex makefile. It's worth looking to see how OpenWrt deals with other Meson packages. Buiilding cffi-lua on the command line is quite simple, we do so in the devcontainer process in the repo