Skip to content

Commit

Permalink
Revert PR#16537 (MystenLabs#16559)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-koshy authored Mar 7, 2024
1 parent c960b07 commit 00ec560
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions scripts/simtest/cargo-simtest
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,6 @@ if [ -n "$USE_MOCK_CRYPTO" ]; then
)
fi

TARGET=$(rustc -vV | grep host | sed 's/^host: //')
if [ -z "$TARGET" ]; then
echo "Failed to determine target from rustc -vV"
exit 1
fi

# set target so that cargo runs in cross compilation mode. needed so that build
# scripts are not built with the simulator
export CARGO_BUILD_TARGET="$TARGET"

RUST_FLAGS=$(IFS=, ; echo "${RUST_FLAGS[*]}")

if ! cargo nextest --help > /dev/null 2>&1; then
Expand Down

0 comments on commit 00ec560

Please sign in to comment.