Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagolobocastro committed Jul 17, 2024
1 parent 1d6bf20 commit 60ae380
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/rust-linter-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,22 @@ if [ -n "$RUST_NIGHTLY_PATH" ]; then
info "RUST_NIGHTLY_PATH is set: $RUST_NIGHTLY_PATH"
ls $RUST_NIGHTLY_PATH/bin
ls $RUST_NIGHTLY_PATH/bin/rustfmt
$RUST_NIGHTLY_PATH/bin/rustfmt -V
ls ~/.carbo/bin || true
whereis rustfmt
whereis cargo
rustfmt -V
cargo fmt --version
$CARGO fmt --version
CARGO="$RUST_NIGHTLY_PATH/bin/cargo"
CARGO_MODE="explicit nightly"
echo "A"
$CARGO fmt --version
$RUST_NIGHTLY_PATH/bin/cargo fmt --version

# cargo searches PATH for its subcommands (e.g. cargo fmt), so export
# PATH with RUST_NIGHTLY_PATH put before all other PATHs.
PATH=$RUST_NIGHTLY_PATH/bin:$PATH
PATH=$RUST_NIGHTLY_PATH/bin:$PATH:~/.cargo/bin
echo "AP"
cargo fmt --version
$CARGO fmt --version
rustfmt -V
Expand Down

0 comments on commit 60ae380

Please sign in to comment.