From c4fcb328e2cd92c2efd391c2ae72a271c126d93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 18 Apr 2023 22:42:27 -0700 Subject: [PATCH] fix(wasm): missed a spot again with wasm --- crates/node-maintainer/src/graph.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/node-maintainer/src/graph.rs b/crates/node-maintainer/src/graph.rs index 75a0bcaa..2f16cb3c 100644 --- a/crates/node-maintainer/src/graph.rs +++ b/crates/node-maintainer/src/graph.rs @@ -163,6 +163,7 @@ impl IndexMut for Graph { } impl Graph { + #[cfg(not(target_arch = "wasm32"))] pub fn is_optional(&self, node: NodeIndex) -> bool { for edge_ref in self.inner.edges_directed(node, Direction::Incoming) { if edge_ref.weight().dep_type != DepType::Opt {