lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 28 August 2014 19:17, Aapo Talvensaari <aapo.talvensaari@gmail.com> wrote:
> Many Lua libs use LuaJIT FFI. Yet, I find many rockspecs in MoonRocks with
>
> dependencies = {
>   "lua == 5.1"; -- In fact this should be "luajit >= 2.0.0"
> }
>
> Is there plans to add (or is there already) LuaJIT dependency requirement
> support?

Yes, there are plans to add it. We didn't do it before because of
backwards compatibility.

> I'm asking this because I have quite a few libs that I was thinking
> about releasing on MoonRocks that all use FFI, but don't know the right way
> to do it.

For now the method above suffices, even if not optimal. In the near
future, we should be able to improve this.

-- Hisham