evo-lua / evo-luvi

[Obsolete] Experimental Lua runtime environment built on Luvi (libuv + LuaJIT)
https://evo-lua.github.io
Apache License 2.0
1 stars 0 forks source link

Pull in the llhttp-ffi dependency to avoid annoying bootstrapping issues when upstream updates #126

Closed Duckwhale closed 1 year ago

Duckwhale commented 1 year ago

There's a bit of a bootstrapping problem with the llhttp-ffi dependency:

As a result, llhttp-ffi can't "properly" be updated and any attempt at circumventing the chicken-and-egg problem gets hacky fast.

I think it makes the most sense to just pull in the ffi bindings and add llhttp itself as a submodule here. It's not like anyone else would be likely to use them, and there's even another library now that binds llhttp for both Lua and LuaJIT. There may be some way to make it work, but honestly it isn't worth the hassle for such a tiny Lua module.