Skip to content

Commit

Permalink
Bump rust and xwin versions (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanDebrunner authored Jul 26, 2024
1 parent ef2fde8 commit 25c3091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xc/windows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lukemathwalker/cargo-chef:latest-rust-1.77.2-slim-bullseye AS builder
FROM lukemathwalker/cargo-chef:latest-rust-1.79-slim-bullseye AS builder

ENV KEYRINGS /usr/local/share/keyrings

Expand Down Expand Up @@ -47,7 +47,7 @@ RUN set -eux; \
RUN rustup target add x86_64-pc-windows-msvc

RUN set -eux; \
xwin_version="0.2.0"; \
xwin_version="0.6.2"; \
xwin_prefix="xwin-$xwin_version-x86_64-unknown-linux-musl"; \
# Install xwin to cargo/bin via github release. Note you could also just use `cargo install xwin`.
curl --fail -L https://github.com/Jake-Shadle/xwin/releases/download/$xwin_version/$xwin_prefix.tar.gz | tar -xzv -C /usr/local/cargo/bin --strip-components=1 $xwin_prefix/xwin; \
Expand Down Expand Up @@ -94,4 +94,4 @@ RUN ls -la && cargo chef prepare --recipe-path recipe.json

FROM builder AS development
COPY --from=planner /workdir/recipe.json recipe.json
RUN cargo chef cook --recipe-path recipe.json --target x86_64-pc-windows-msvc --release
RUN cargo chef cook --recipe-path recipe.json --target x86_64-pc-windows-msvc --release

0 comments on commit 25c3091

Please sign in to comment.