diff --git a/src/rust_deps/build.sh b/src/rust_deps/build.sh index 681770cafeea9af77f8a3e560370dfedb1a55260..51d9fe0e4b49d30fb98cf04ad3a3b340f5af2c11 100755 --- a/src/rust_deps/build.sh +++ b/src/rust_deps/build.sh @@ -17,8 +17,14 @@ export OCTEZ_RUST_DEPS_NO_WASMER_HEADERS=1 export CARGO_TARGET_DIR # Build the Rust project. +rustc --version +rustc --print host-tuple + cargo build --release --locked --target-dir="$CARGO_TARGET_DIR" +ls -al "$CARGO_TARGET_DIR/" +ls -al "$CARGO_TARGET_DIR/release" + # Copy the built artifacts to the output directory. cp -f "$CARGO_TARGET_DIR/release/liboctez_rust_deps.a" "$OUT_DIR/liboctez_rust_deps.a" @@ -27,5 +33,5 @@ if [[ -r "$CARGO_TARGET_DIR/release/liboctez_rust_deps.so" ]]; then fi if [[ -r "$CARGO_TARGET_DIR/release/liboctez_rust_deps.dylib" ]]; then - cp -f "$CARGO_TARGET_DIR/release/liboctez_rust_deps.dylib" "$OUT_DIR/dlloctez_rust_deps.so" + cp -f "$CARGO_TARGET_DIR/release/liboctez_rust_deps.dylib" "$OUT_DIR/dlloctez_rust_deps.so" fi