Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 537 Bytes

README.adoc

File metadata and controls

18 lines (12 loc) · 537 Bytes

Native bindings

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