Skip to content

Commit 1e58388

Browse files
mamcxcloutiertyler
authored andcommitted
Revert toolchain to 1.69 because upstream bug on wasmer. Remove unnecesary lints (#103)
1 parent a9060d5 commit 1e58388

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

crates/cli/src/tasks.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ fn has_wasm_bindgen(module: &wasmbin::Module) -> bool {
115115
module
116116
.find_std_section::<wasmbin::sections::payload::Import>()
117117
.and_then(|imports| imports.try_contents().ok())
118-
.is_some_and(|imports| imports.iter().any(check_import))
118+
.map(|imports| imports.iter().any(check_import))
119+
.unwrap_or(false)
119120
|| module
120121
.find_std_section::<wasmbin::sections::payload::Export>()
121122
.and_then(|exports| exports.try_contents().ok())
122-
.is_some_and(|exports| exports.iter().any(check_export))
123+
.map(|exports| exports.iter().any(check_export))
124+
.unwrap_or(false)
123125
}

crates/core/src/host/instance_env.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ impl InstanceEnv {
386386
}
387387

388388
#[tracing::instrument(skip_all)]
389-
#[allow(clippy::let_with_type_underscore)] // I have no idea why clippy is issuing this warning
390389
pub fn iter(&self, table_id: u32) -> impl Iterator<Item = Result<Vec<u8>, NodesError>> {
391390
use genawaiter::{sync::gen, yield_, GeneratorState};
392391

crates/core/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::let_with_type_underscore)] // can remove once tokio-rs/tracing#2609 mereges
2-
31
use std::path::{Path, PathBuf};
42

53
use once_cell::sync::Lazy;

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.70"
2+
channel = "1.69"
33
profile = "default"
44
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)