Skip to content

Commit

Permalink
Merge pull request #567 from CosmWasm/co/update-builder-rust
Browse files Browse the repository at this point in the history
Update builder to Rust 1.82 and bump version
  • Loading branch information
chipshort authored Oct 25, 2024
2 parents 7e81281 + 5bd7543 commit 97280d1
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Builds the Rust library libwasmvm
BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0101
BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0102
# Contains a full Go dev environment including CGO support in order to run Go tests on the built shared library
# This image is currently not published.
ALPINE_TESTER := cosmwasm/alpine-tester:local
Expand Down
2 changes: 1 addition & 1 deletion builders/Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rust:1.81.0-alpine
FROM --platform=linux/amd64 rust:1.82.0-alpine

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

Expand Down
2 changes: 1 addition & 1 deletion builders/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rust:1.81.0-bookworm
FROM --platform=linux/amd64 rust:1.82.0-bookworm

# Install build dependencies
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion builders/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \

RUN wget --no-verbose "https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init" \
&& chmod +x rustup-init \
&& ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.81.0 \
&& ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.82.0 \
&& rm rustup-init \
&& chmod -R a+w $RUSTUP_HOME $CARGO_HOME \
&& rustup --version \
Expand Down
2 changes: 1 addition & 1 deletion builders/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Versioned by a simple counter that is not bound to a specific CosmWasm version
# See builders/README.md
BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0101
BUILDERS_PREFIX := cosmwasm/libwasmvm-builder:0102

.PHONY: docker-image-debian
docker-image-debian:
Expand Down
4 changes: 4 additions & 0 deletions builders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ See those DockerHub repos for all available versions of the builder images.

**Unreleased**

**Version 0102:**

- Update Rust to 1.82.0.

**Version 0101:**

- Update Rust to 1.81.0.
Expand Down
2 changes: 1 addition & 1 deletion docs/COMPILER_VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ We currently use the following version:

| Type | Rust version | Note |
| ------------------------ | ------------ | --------------------------------- |
| Production Rust compiler | 1.81.0 | Builders version 0101 |
| Production Rust compiler | 1.82.0 | Builders version 0102 |
| Min Rust compiler | 1.74.0 | Supports builder versions >= 0019 |
| Tooling Rust compiler | 1.75.0 | |

0 comments on commit 97280d1

Please sign in to comment.