Skip to content

Commit

Permalink
fix: take only the first binary
Browse files Browse the repository at this point in the history
  • Loading branch information
sassman committed Dec 13, 2024
1 parent 6cb13b9 commit ef8e724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .tools/run-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if [ $? -ne 0 ]; then
exit 1
fi

BIN_NAME=$(cargo metadata --format-version 1 | jq -r '.packages[].targets[] | select(.kind[] == "bin") | .name')
BIN_NAME=$(cargo metadata --format-version 1 | jq -r '.packages[].targets[] | select(.kind[] == "bin") | .name' | head -n 1)

echo "Running the solution $BIN_NAME on the benchmark dataset"

Expand Down

0 comments on commit ef8e724

Please sign in to comment.