Test new, print, and free Config works

This commit is contained in:
Steve Myers
2021-06-08 18:15:20 -07:00
parent 43425c8875
commit 8aa18fbf20
10 changed files with 262 additions and 119 deletions

View File

@@ -1,3 +1,9 @@
cargo build
cargo test --features c-headers -- generate_headers
cc main.c -o main -L target/debug -l bdk_ffi -l pthread -l dl -l m
cc main.c -o main -L target/debug -l bdk_ffi -l pthread -l dl -l m
./main
# jvm
mkdir -p jvm/build/jniLibs/x86_64_linux
cp target/debug/libbdk_ffi.so jvm/build/jniLibs/x86_64_linux
export LD_LIBRARY_PATH=`pwd`/target/debug