Skip to content

Commit 447a823

Browse files
committed
fix: specify the package during rust builds
1 parent 4a1202d commit 447a823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_rust_package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ build_rust_package() {
5050
CARGO_TERM_COLOR='never'
5151
cd '/build/$package'
5252
cargo fetch
53-
cargo build --release --frozen ${extra_features:+--features $extra_features}
53+
cargo build --release --frozen ${extra_features:+--features $extra_features} --package $package
5454
"
5555

5656
# Cache and install the built binary
5757
install -m 755 "$build_dir/target/release/$package" "$cached_binary"
5858
install -m 755 "$cached_binary" "$dest_path"
59-
}
59+
}

0 commit comments

Comments
 (0)