Rust 1.79 stable (#661)
* Rust 1.79 clippy fix * Rust 1.79 stable in ci and docker * Allow unused_var in nomos tests Clippy struggle to recognize the usage of enumeration variable inside one particular testcase.
This commit is contained in:
parent
572d286f5f
commit
b4b24e4678
|
@ -1,6 +1,6 @@
|
|||
# BUILD IMAGE ---------------------------------------------------------
|
||||
|
||||
FROM rust:1.78.0-slim-bullseye AS builder
|
||||
FROM rust:1.79.0-slim-bullseye AS builder
|
||||
|
||||
WORKDIR /nomos
|
||||
COPY . .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM rust:1.76.0-slim-bullseye
|
||||
FROM rust:1.79.0-slim-bullseye
|
||||
|
||||
LABEL maintainer="augustinas@status.im" \
|
||||
source="https://github.com/logos-co/nomos-node" \
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
overlays = [
|
||||
(import (fetchGit {
|
||||
url = "https://github.com/oxalica/rust-overlay.git";
|
||||
rev = "0e031ddb3f5a339dc6eda93d271ae43618b14eec";
|
||||
rev = "419e7fae2731f41dd9b3e34dfe8802be68558b92";
|
||||
}))
|
||||
];
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ pkgs.mkShell {
|
|||
|
||||
buildInputs = with pkgs; [
|
||||
pkg-config
|
||||
rust-bin.stable."1.76.0".default
|
||||
rust-bin.stable."1.79.0".default
|
||||
clang_14
|
||||
llvmPackages_14.libclang
|
||||
openssl
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# BUILD IMAGE ---------------------------------------------------------
|
||||
|
||||
FROM rust:1.78.0-slim-bullseye AS builder
|
||||
FROM rust:1.79.0-slim-bullseye AS builder
|
||||
|
||||
WORKDIR /nomos
|
||||
COPY . .
|
||||
|
|
|
@ -250,12 +250,12 @@ impl Node for NomosNode {
|
|||
chain_start_time: OffsetDateTime::now_utc(),
|
||||
};
|
||||
|
||||
#[allow(unused_mut)]
|
||||
#[allow(unused_mut, unused_variables)]
|
||||
let mut configs = ids
|
||||
.into_iter()
|
||||
.zip(coins)
|
||||
.enumerate()
|
||||
.map(|(_i, (da_id, coin))| {
|
||||
.map(|(i, (da_id, coin))| {
|
||||
create_node_config(
|
||||
da_id,
|
||||
genesis_state.clone(),
|
||||
|
@ -265,7 +265,7 @@ impl Node for NomosNode {
|
|||
#[cfg(feature = "mixnet")]
|
||||
MixnetConfig {
|
||||
mixclient: mixclient_config.clone(),
|
||||
mixnode: mixnode_configs[_i].clone(),
|
||||
mixnode: mixnode_configs[i].clone(),
|
||||
},
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue