Skip to content

Commit

Permalink
Revert toolchain to 1.69 because upstream bug on wasmer. Remove unnec…
Browse files Browse the repository at this point in the history
…esary lints (#103)
  • Loading branch information
mamcx authored Jul 27, 2023
1 parent c3526ee commit 83e88d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions crates/cli/src/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ fn has_wasm_bindgen(module: &wasmbin::Module) -> bool {
module
.find_std_section::<wasmbin::sections::payload::Import>()
.and_then(|imports| imports.try_contents().ok())
.is_some_and(|imports| imports.iter().any(check_import))
.map(|imports| imports.iter().any(check_import))
.unwrap_or(false)
|| module
.find_std_section::<wasmbin::sections::payload::Export>()
.and_then(|exports| exports.try_contents().ok())
.is_some_and(|exports| exports.iter().any(check_export))
.map(|exports| exports.iter().any(check_export))
.unwrap_or(false)
}
1 change: 0 additions & 1 deletion crates/core/src/host/instance_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ impl InstanceEnv {
}

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

Expand Down
2 changes: 0 additions & 2 deletions crates/core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::let_with_type_underscore)] // can remove once tokio-rs/tracing#2609 mereges

use std::path::{Path, PathBuf};

use once_cell::sync::Lazy;
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.70"
channel = "1.69"
profile = "default"
targets = ["wasm32-unknown-unknown"]

0 comments on commit 83e88d8

Please sign in to comment.