Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port build system to VimL function #2

Open
alerque opened this issue May 18, 2020 · 0 comments
Open

Port build system to VimL function #2

alerque opened this issue May 18, 2020 · 0 comments

Comments

@alerque
Copy link
Owner

alerque commented May 18, 2020

Having GNU-Make as a dependency to install is not ideal. It is easy on Linux but might be a hinderance on other platforms. Really nothing much special needs to happen beyond a cargo command and some file movement. This could be ported to a VimL function (or Lua, since Lua support is a requirement already) to ease adoption.

The biggest issue will probably be detecting and using the right Lua headers when buliding the Lua module. Currently the Makefile only assumes the Arch Linux path anyway. Actually pkg-config could supply this on most systems, but the mlua Rust crate won't build against Arch's version of LuaJIT unless you force it by setting the variables manually (see mlua-rs/mlua#3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant