Skip to content

Commit 1b8be74

Browse files
authored
Merge pull request #552 from CosmWasm/sw/rust-1.80
Bump to Rust 1.80 and other build system cleanups
2 parents 621a87c + e673aa6 commit 1b8be74

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

builders/Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rust:1.77.0-alpine
1+
FROM --platform=linux/amd64 rust:1.80.0-alpine
22

33
RUN apk add --no-cache ca-certificates build-base
44

@@ -28,6 +28,6 @@ RUN chmod +x /opt/*.sh
2828

2929
RUN mkdir /.cargo
3030
RUN chmod +rx /.cargo
31-
COPY guest/cargo-config /.cargo/config
31+
COPY guest/cargo-config.toml /.cargo/config.toml
3232

3333
CMD ["/opt/build_muslc.sh"]

builders/Dockerfile.cross

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rust:1.77.0-bullseye
1+
FROM --platform=linux/amd64 rust:1.80.0-bookworm
22

33
# Install build dependencies
44
RUN apt-get update \
@@ -49,6 +49,6 @@ RUN chmod +x /usr/local/bin/*.sh
4949

5050
RUN mkdir /.cargo
5151
RUN chmod +rx /.cargo
52-
COPY guest/cargo-config /.cargo/config
52+
COPY guest/cargo-config.toml /.cargo/config.toml
5353

5454
CMD ["bash", "-c", "echo 'Argument missing. Pass one build script (e.g. build_macos.sh) to docker run' && exit 1"]

builders/Dockerfile.debian

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \
1313

1414
RUN wget --no-verbose "https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init" \
1515
&& chmod +x rustup-init \
16-
&& ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.77.0 \
16+
&& ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.80.0 \
1717
&& rm rustup-init \
1818
&& chmod -R a+w $RUSTUP_HOME $CARGO_HOME \
1919
&& rustup --version \
@@ -31,6 +31,6 @@ RUN chmod +x /usr/local/bin/*.sh
3131

3232
RUN mkdir /.cargo
3333
RUN chmod +rx /.cargo
34-
COPY guest/cargo-config /.cargo/config
34+
COPY guest/cargo-config.toml /.cargo/config.toml
3535

3636
CMD ["bash", "-c", "echo 'Argument missing. Pass one build script (e.g. build_linux.sh) to docker run' && exit 1"]

builders/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ See those DockerHub repos for all available versions of the builder images.
2323

2424
**Unreleased**
2525

26+
- Update Rust to 1.80.0.
27+
- Update Dockerfile.cross from Debian Bullseye to Bookworm ([#533])
28+
- Rename `.cargo/config` to `.cargo/config.toml` to silence warning
29+
30+
[#533]: https://github.com/CosmWasm/wasmvm/issues/533
31+
2632
**Version 0100:**
2733

2834
- Rename builder image from cosmwasm/go-ext-builder to
File renamed without changes.

0 commit comments

Comments
 (0)