Skip to content

Commit b718d14

Browse files
committed
Create 0.10.9 with updated Rust version
1 parent 437689b commit b718d14

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 0.10.9
4+
5+
- `cosmwasm/rust-optimizer`: bump Rust to 1.51.0
6+
37
## 0.10.8
48

59
- `cosmwasm/rust-optimizer`: bump Rust to 1.50.0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DOCKER_NAME_RUST_OPTIMIZER := "cosmwasm/rust-optimizer"
44
DOCKER_NAME_WORKSPACE_OPTIMIZER := "cosmwasm/workspace-optimizer"
5-
DOCKER_TAG := 0.10.8
5+
DOCKER_TAG := 0.10.9
66

77
build-rust-optimizer:
88
docker build -t $(DOCKER_NAME_RUST_OPTIMIZER):$(DOCKER_TAG) --file rust-optimizer.Dockerfile .

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ you to produce a smaller build that works with the cosmwasm integration tests
2424
docker run --rm -v "$(pwd)":/code \
2525
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
2626
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
27-
cosmwasm/rust-optimizer:0.10.8
27+
cosmwasm/rust-optimizer:0.10.9
2828
```
2929

3030
Demo this with `cosmwasm-examples` (going into eg. `erc20` subdir before running),
@@ -57,7 +57,7 @@ To compile all contracts in the workspace deterministically, you can run:
5757
docker run --rm -v "$(pwd)":/code \
5858
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
5959
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
60-
cosmwasm/workspace-optimizer:0.10.8
60+
cosmwasm/workspace-optimizer:0.10.9
6161
```
6262

6363
The downside is that to verify one contract in the workspace, you need to compile them
@@ -83,7 +83,7 @@ case, we can use the optimize.sh command:
8383
docker run --rm -v "$(pwd)":/code \
8484
--mount type=volume,source="devcontract_cache_burner",target=/code/contracts/burner/target \
8585
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
86-
cosmwasm/rust-optimizer:0.10.8 ./contracts/burner
86+
cosmwasm/rust-optimizer:0.10.9 ./contracts/burner
8787
```
8888

8989
## Development

rust-optimizer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Note: I tried slim and had issues compiling wasm-pack, even with --features vendored-openssl
2-
FROM rust:1.50.0
2+
FROM rust:1.51.0
33

44
# setup rust with Wasm support
55
RUN rustup target add wasm32-unknown-unknown

workspace-optimizer.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This version of Rust will not be used for compilation but just serves as a stable base image to get debian+rustup.
22
# See Rust nightly config below.
3-
FROM rust:1.50.0
4-
RUN rustup toolchain remove 1.50.0
3+
FROM rust:1.51.0
4+
RUN rustup toolchain remove 1.51.0
55

66
RUN apt update
77
RUN apt install python3 python3-toml -y

0 commit comments

Comments
 (0)