Skip to content

Commit

Permalink
that warning doesn't work on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Oct 4, 2023
1 parent 3f7a0d9 commit bc1ac8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ic-agent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@
#![warn(
missing_docs,
rustdoc::broken_intra_doc_links,
rustdoc::private_intra_doc_links,
clippy::future_not_send
rustdoc::private_intra_doc_links
)]
#![cfg_attr(not(target_family = "wasm"), warn(clippy::future_not_send))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

#[cfg(all(feature = "hyper", target_family = "wasm"))]
Expand Down
4 changes: 2 additions & 2 deletions ic-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
missing_docs,
missing_debug_implementations,
rustdoc::broken_intra_doc_links,
rustdoc::private_intra_doc_links,
clippy::future_not_send
rustdoc::private_intra_doc_links
)]
#![cfg_attr(not(target_family = "wasm"), warn(clippy::future_not_send))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

/// Utilities to encapsulate calls to a canister.
Expand Down

0 comments on commit bc1ac8e

Please sign in to comment.