fix: set rust compiler version before running cargo commands in python

This commit is contained in:
thunderbiscuit committed 2024-04-30 11:46:01 -04:00
1 parent d4736a64d1
commit 431ab90f04
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -6,10 +6,10 @@ ${PYBIN}/pip install -r requirements.txt
echo "Generating bdk.py..."
cd ../bdk-ffi/
rustup default 1.77.1
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
echo "Generating native binaries..."
rustup default 1.77.1
cargo build --profile release-smaller
echo "Copying linux libbdkffi.so..."
+1 -1
View File
@@ -6,10 +6,10 @@ pip install -r requirements.txt
echo "Generating bdk.py..."
cd ../bdk-ffi/
rustup default 1.77.1
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
echo "Generating native binaries..."
rustup default 1.77.1
rustup target add aarch64-apple-darwin
cargo build --profile release-smaller --target aarch64-apple-darwin
+1 -1
View File
@@ -6,10 +6,10 @@ pip install -r requirements.txt
echo "Generating bdk.py..."
cd ../bdk-ffi/
rustup default 1.77.1
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
echo "Generating native binaries..."
rustup default 1.77.1
rustup target add x86_64-apple-darwin
cargo build --profile release-smaller --target x86_64-apple-darwin
+1 -1
View File
@@ -6,10 +6,10 @@ pip install -r requirements.txt
echo "Generating bdk.py..."
cd ../bdk-ffi/
rustup default 1.77.1
cargo run --bin uniffi-bindgen generate src/bdk.udl --language python --out-dir ../bdk-python/src/bdkpython/ --no-format
echo "Generating native binaries..."
rustup default 1.77.1
rustup target add x86_64-pc-windows-msvc
cargo build --profile release-smaller --target x86_64-pc-windows-msvc