Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 622 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 622 Bytes

KCL Artifact Library for Lua

This repo is under development, PRs welcome!

Build from Source

Prerequisites

  • Lua
  • Cargo

Lua version

You have to enable one of the features: lua54, lua53, lua52, lua51, luajit(52) or luau in Cargo.toml, according to the chosen Lua version. Default Lua version is 5.2.

If you build on macos, you can set the environment to prevent link errors.

# Set cargo build target on macos
export MACOSX_DEPLOYMENT_TARGET='10.13'

Linux

make
# copy to lua share library directory
cp ./target/release/libkcl_lib_lua.so /usr/lib/lua/5.2/kcl_lib.so