Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiffle committed Mar 2, 2024
1 parent 75db53a commit 096425a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msrv-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for d in $DIRS; do
VERSION=$(cargo metadata --format-version 1 \
| jq -r '.resolve.root as $root | .packages[] | select(.id == $root) | .rust_version')
TARGET=$(cargo metadata --format-version 1 \
| jq -r '.resolve.root as $root | .packages[] | select(.id == $root) | .metadata.docs.rs.["default-target"]')
| jq -r '.resolve.root as $root | .packages[] | select(.id == $root) | .metadata.docs.rs["default-target"]')
echo "---- building in $d using ${VERSION} for ${TARGET}"
rustup target add --toolchain ${VERSION} ${TARGET}
rustup run ${VERSION} cargo check
Expand Down

0 comments on commit 096425a

Please sign in to comment.