diff --git a/Cargo.toml b/Cargo.toml index f9de052c..2398c9e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ license = "BUSL-1.1" license-file = "LICENSE" homepage = "https://initia.xyz" repository = "https://github.com/initia-labs/movevm" -rust-version = "1.76.0" +rust-version = "1.77.1" [workspace.dependencies] # Internal crate dependencies. diff --git a/README.md b/README.md index 15ca3f07..9f1a9848 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This repo contains both Rust and Go code. The rust code is compiled into a dll/s ## Support Platform -Requires Rust 1.76+ and Go 1.21.5+. +Requires Rust 1.77+ and Go 1.21.5+. The Rust implementation of the VM is compiled to a library called libmovevm. This is then linked to the Go code when the final binary is built. For that reason not all systems supported by Go are supported by this project. @@ -49,4 +49,4 @@ There are two parts to this code - go and rust. The first step is to ensure that If this is present, then `make test` will run the Go test suite and you can import this code freely. If it is not present you will have to build it for your system, and ideally add it to this repo with a PR (on your fork). We will set up a proper CI system for building these binaries, but we are not there yet. -To build the rust side, try make `build-rust` and wait for it to compile. This depends on `cargo` being installed with rustc version 1.76+. Generally, you can just use rustup to install all this with no problems. +To build the rust side, try make `build-rust` and wait for it to compile. This depends on `cargo` being installed with rustc version 1.77+. Generally, you can just use rustup to install all this with no problems. diff --git a/builders/Dockerfile.alpine b/builders/Dockerfile.alpine index b8c36c17..5f471662 100644 --- a/builders/Dockerfile.alpine +++ b/builders/Dockerfile.alpine @@ -16,7 +16,7 @@ RUN set -eux \ RUN wget "https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-musl/rustup-init" \ && chmod +x rustup-init \ - && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.76.0 \ + && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.77.1 \ && rm rustup-init \ && chmod -R a+w $RUSTUP_HOME $CARGO_HOME diff --git a/builders/Dockerfile.centos7 b/builders/Dockerfile.centos7 index 1ba39a0e..99368d07 100644 --- a/builders/Dockerfile.centos7 +++ b/builders/Dockerfile.centos7 @@ -27,7 +27,7 @@ ENV RUSTUP_HOME=/usr/local/rustup \ RUN wget "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.76.0 \ + && ./rustup-init -y --no-modify-path --profile minimal --default-toolchain 1.77.1 \ && rm rustup-init \ && chmod -R a+w $RUSTUP_HOME $CARGO_HOME \ && rustup --version \ diff --git a/builders/Dockerfile.cross b/builders/Dockerfile.cross index d765cce4..d6fd5a8d 100644 --- a/builders/Dockerfile.cross +++ b/builders/Dockerfile.cross @@ -1,4 +1,4 @@ -FROM rust:1.76.0-bullseye +FROM rust:1.77.1-bullseye # Install build dependencies RUN apt-get update \