Skip to content

Commit

Permalink
Upgrade Rust toolchain
Browse files Browse the repository at this point in the history
Also pin the toolchain version for local development using the new
`rust-toolchain.toml` file
  • Loading branch information
vlad-ivanov-name committed Dec 1, 2024
1 parent 61643c0 commit cd3702e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARG ARCH
ARG RUSTUP_VERSION=1.27.1

# Update check: https://github.com/rust-lang/rust/tags
ARG RUST_VERSION=1.79.0
ARG RUST_VERSION=1.83.0
ARG RUST_ARCH=${ARCH}-unknown-linux-musl

# https://github.com/sfackler/rust-openssl/issues/1462
Expand Down
2 changes: 1 addition & 1 deletion josh-proxy/src/bin/josh-proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ async fn call_service(
.map(|(x, y)| (x.to_string(), y.to_string()))
.collect();

fetch_repos.extend(lazy_refs.iter().map(|(x, y)| x.clone()));
fetch_repos.extend(lazy_refs.iter().map(|(x, _y)| x.clone()));

///////////////

Expand Down
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.83.0"
components = ["rustfmt"]

0 comments on commit cd3702e

Please sign in to comment.