Skip to content

Commit e319e0a

Browse files
committed
Use latest nightly Rust version for workspace-optimizer
1 parent d8c1174 commit e319e0a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## 0.10.8
44

55
- `cosmwasm/rust-optimizer`: bump Rust to 1.50.0
6-
- `cosmwasm/workspace-optimizer`: bump Rust to 1.50.0
6+
- `cosmwasm/workspace-optimizer`: bump Rust to nightly-2021-03-01
77

88
## 0.10.7
99

workspace-optimizer.Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +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.
33
FROM rust:1.50.0
4-
#RUN rustup toolchain remove 1.50.0
5-
6-
# setup rust with Wasm support
7-
RUN rustup target add wasm32-unknown-unknown
4+
RUN rustup toolchain remove 1.50.0
85

96
RUN apt update
107
RUN apt install python3 python3-toml -y
@@ -13,8 +10,8 @@ RUN python3 --version
1310

1411
# Install Rust nightly
1512
# Choose version from: https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html
16-
#RUN rustup toolchain install nightly-2020-10-14 --allow-downgrade --profile minimal --target wasm32-unknown-unknown
17-
#RUN rustup default nightly-2020-10-14
13+
RUN rustup toolchain install nightly-2021-03-01 --allow-downgrade --profile minimal --target wasm32-unknown-unknown
14+
RUN rustup default nightly-2021-03-01
1815
RUN rustup toolchain list
1916
# Check cargo version
2017
RUN cargo --version

0 commit comments

Comments
 (0)