Skip to content

Latest commit

 

History

History

bindings

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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