feat: Bumped the MSRV from 1.69 to 1.70

This commit is contained in:
Michael-F-Bryan 2023-09-20 00:10:01 +01:00
parent b3dde1aa76
commit ac16302aad
No known key found for this signature in database
GPG Key ID: 1A5197668412BFD3
9 changed files with 13 additions and 10 deletions

View File

@ -28,7 +28,7 @@ RUN apt-get update && \
# install rust tools
RUN curl --proto "=https" --tlsv1.2 --retry 3 -sSfL https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup -v toolchain install 1.69
RUN rustup -v toolchain install 1.70
# add docker the manual way
COPY install_docker.sh /
RUN /install_docker.sh
@ -61,7 +61,7 @@ ENV CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER="$CROSS_TOOLCHAIN_PREFIX"gcc
RUST_TEST_THREADS=1 \
PKG_CONFIG_PATH="/usr/lib/riscv64-linux-gnu/pkgconfig/:${PKG_CONFIG_PATH}"
RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.69-x86_64-unknown-linux-gnu
RUN rustup target add riscv64gc-unknown-linux-gnu --toolchain 1.70-x86_64-unknown-linux-gnu
#compile libssl-dev for riscv64!
COPY build_openssl.sh /

View File

@ -7,7 +7,7 @@ on:
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.67"
MSRV: "1.70"
jobs:
run_benchmark:

View File

@ -3,7 +3,7 @@ name: Builds
env:
RUST_BACKTRACE: 1
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.69"
MSRV: "1.70"
on:
push:

View File

@ -2,7 +2,7 @@ name: Release cloudcompiler.wasm
env:
RUST_BACKTRACE: 1
MSRV: "1.67"
MSRV: "1.70"
on:
push:

View File

@ -7,6 +7,9 @@ on:
paths:
- 'lib/**'
env:
MSRV: "1.70"
jobs:
documentation:
name: Documentation
@ -16,7 +19,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.67
toolchain: ${{ env.MSRV }}
- name: Install LLVM
shell: bash
run: |

View File

@ -24,7 +24,7 @@ env:
# Rust, but it's not stable on 1.69 yet. By explicitly setting the protocol we
# can override that behaviour
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
MSRV: "1.69"
MSRV: "1.70"
jobs:

View File

@ -80,7 +80,7 @@ edition = "2021"
homepage = "https://wasmer.io/"
license = "MIT"
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.67"
rust-version = "1.70"
version = "4.2.0"
[workspace.dependencies]

View File

@ -10,7 +10,7 @@ keywords = [ "wasm", "browser", "terminal" ]
repository = "https://github.com/wasmerio/wasmer"
readme = "../README.md"
homepage = "https://wasmer.io/"
rust-version = "1.67"
rust-version = "1.70"
# This crate is in its own workspace because it gets compiled to WebAssembly
[workspace]

View File

@ -1 +1 @@
1.69
1.70