From 33befb27b31da237e6f800ea9d92d96c41fff85d Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Thu, 23 May 2024 16:53:38 +0100 Subject: [PATCH] Specify Rust version + bump DFX version (#83) --- Dockerfile | 4 ++-- dfx.json | 2 +- rust-toolchain.toml | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/Dockerfile b/Dockerfile index fff7d46..b8ecd61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ SHELL ["bash", "-c"] ARG git_commit_id ARG rustflags -ARG rust_version=1.76.0 +ARG rust_version=1.78.0 ENV GIT_COMMIT_ID=$git_commit_id ENV TZ=UTC -ENV DFX_VERSION=0.19.0 +ENV DFX_VERSION=0.20.0 ENV PATH="/root/.local/share/dfx/bin:$PATH" ENV RUSTFLAGS=$rustflags diff --git a/dfx.json b/dfx.json index 72c4b80..b6d4d34 100644 --- a/dfx.json +++ b/dfx.json @@ -1,5 +1,5 @@ { - "dfx": "0.19.0", + "dfx": "0.20.0", "canisters": { "event_store": { "type": "rust", diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..76173ee --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "1.78.0" +targets = ["wasm32-unknown-unknown"] \ No newline at end of file