build: bump Rust to 1.70.0 to resolve clippy errors (#201)

This commit is contained in:
Youngjoon Lee 2023-06-20 00:03:54 +09:00 committed by GitHub
parent bed0b9448d
commit 2db493c753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# BUILD IMAGE --------------------------------------------------------- # BUILD IMAGE ---------------------------------------------------------
FROM rust:1.67.0-slim-bullseye AS builder FROM rust:1.70.0-slim-bullseye AS builder
# Using backports for go 1.19 # Using backports for go 1.19
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' \ RUN echo 'deb http://deb.debian.org/debian bullseye-backports main' \

View File

@ -1,4 +1,4 @@
FROM rust:1.67.0-slim-bullseye FROM rust:1.70.0-slim-bullseye
LABEL maintainer="augustinas@status.im" LABEL maintainer="augustinas@status.im"
LABEL source="https://github.com/logos-co/nomos-research" LABEL source="https://github.com/logos-co/nomos-research"

View File

@ -6,7 +6,7 @@
overlays = [ overlays = [
(import (fetchGit { (import (fetchGit {
url = "https://github.com/oxalica/rust-overlay.git"; url = "https://github.com/oxalica/rust-overlay.git";
rev = "3bab7ae4a80de02377005d611dc4b0a13082aa7c"; rev = "86302751ef371597d48951983e1a2f04fe78d4ff";
})) }))
]; ];
} }
@ -17,7 +17,7 @@ pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
pkg-config pkg-config
rust-bin.stable."1.67.0".default rust-bin.stable."1.70.0".default
go_1_19 # 1.19.5 go_1_19 # 1.19.5
clang_14 clang_14
llvmPackages_14.libclang llvmPackages_14.libclang