diff --git a/bdk-ffi b/bdk-ffi index 1c5f486..f18b189 160000 --- a/bdk-ffi +++ b/bdk-ffi @@ -1 +1 @@ -Subproject commit 1c5f4863c6a53cc9d063d34c4e13c91fea5c58de +Subproject commit f18b1896142aedfc033d40f6529dde389976eeae diff --git a/scripts/generate-linux.sh b/scripts/generate-linux.sh index a4e87ee..3c7d220 100644 --- a/scripts/generate-linux.sh +++ b/scripts/generate-linux.sh @@ -17,7 +17,7 @@ echo "Generating native binaries..." cargo build --locked --profile release-smaller echo "Generating bdk.py..." -cargo run --bin uniffi-bindgen generate --library ./target/release-smaller/libbdkffi.so --language python --out-dir ../../src/bdkpython/ --no-format +cargo run --locked --features uniffi-bindgen --bin uniffi-bindgen generate --library ./target/release-smaller/libbdkffi.so --language python --out-dir ../../src/bdkpython/ --no-format echo "Copying linux libbdkffi.so..." cp ./target/release-smaller/libbdkffi.so ../../src/bdkpython/libbdkffi.so diff --git a/scripts/generate-macos-arm64.sh b/scripts/generate-macos-arm64.sh index e47e8b8..0a558e1 100644 --- a/scripts/generate-macos-arm64.sh +++ b/scripts/generate-macos-arm64.sh @@ -19,7 +19,7 @@ echo "Generating native binaries..." cargo build --locked --profile release-smaller --target aarch64-apple-darwin echo "Generating bdk.py..." -cargo run --bin uniffi-bindgen generate --library ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../src/bdkpython/ --no-format +cargo run --locked --features uniffi-bindgen --bin uniffi-bindgen generate --library ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../src/bdkpython/ --no-format echo "Copying libraries libbdkffi.dylib..." cp ./target/aarch64-apple-darwin/release-smaller/libbdkffi.dylib ../../src/bdkpython/libbdkffi.dylib diff --git a/scripts/generate-macos-x86_64.sh b/scripts/generate-macos-x86_64.sh index 7ef7833..ccfdf8a 100644 --- a/scripts/generate-macos-x86_64.sh +++ b/scripts/generate-macos-x86_64.sh @@ -19,7 +19,7 @@ echo "Generating native binaries..." cargo build --locked --profile release-smaller --target x86_64-apple-darwin echo "Generating bdk.py..." -cargo run --bin uniffi-bindgen generate --library ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../src/bdkpython/ --no-format +cargo run --locked --features uniffi-bindgen --bin uniffi-bindgen generate --library ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib --language python --out-dir ../../src/bdkpython/ --no-format echo "Copying libraries libbdkffi.dylib..." cp ./target/x86_64-apple-darwin/release-smaller/libbdkffi.dylib ../../src/bdkpython/libbdkffi.dylib diff --git a/scripts/generate-windows.sh b/scripts/generate-windows.sh index cbb2738..f541d17 100644 --- a/scripts/generate-windows.sh +++ b/scripts/generate-windows.sh @@ -19,7 +19,7 @@ echo "Generating native binaries..." cargo build --locked --profile release-smaller --target x86_64-pc-windows-msvc echo "Generating bdk.py..." -cargo run --bin uniffi-bindgen generate --library ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll --language python --out-dir ../../src/bdkpython/ --no-format +cargo run --locked --features uniffi-bindgen --bin uniffi-bindgen generate --library ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll --language python --out-dir ../../src/bdkpython/ --no-format echo "Copying libraries bdkffi.dll..." cp ./target/x86_64-pc-windows-msvc/release-smaller/bdkffi.dll ../../src/bdkpython/bdkffi.dll