git.delta.rocks / jrsonnet / refs/commits / 5eebad49b82e

difftreelog

rendered

bindingsrenderedhistory

Bindings are implemented in form of standard libjsonnet.so implementation.

Headers are described in c/libjsonnet.h, this file is exact copy from C implementation of jsonnet, plus additional jrsonnet-specific methods.

Bindings should work as drop-in replacement for standard impl.

Building Linux .so library on MacOS

You can use cross-rs to do so:

cargo install cross --git https://github.com/cross-rs/cross
cross build --release -p libjsonnet --target x86_64-unknown-linux-gnu