Skip to content

Commit

Permalink
fix: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
niebayes committed Sep 25, 2024
1 parent 6e02360 commit 2822567
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ popd
# For Rust.
echo "Building for Rust..."
pushd rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain none -y
. "$HOME/.cargo/env"
cargo build
popd
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.runner
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN TZ=Asia/Shanghai DEBIAN_FRONTEND=noninteractive apt-get -y update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN rustup default stable && cargo install --locked taplo-cli
RUN cargo install --locked taplo-cli
2 changes: 1 addition & 1 deletion rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Install Rust:

``` shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain none -y
```

Introduce Cargo into the PATH environment variable:
Expand Down

0 comments on commit 2822567

Please sign in to comment.