Skip to content

Commit

Permalink
fix(wasm): missed a spot again with wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Apr 19, 2023
1 parent 1e775ad commit c4fcb32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/node-maintainer/src/graph.rs
Expand Up @@ -163,6 +163,7 @@ impl IndexMut<EdgeIndex> 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 {
Expand Down

0 comments on commit c4fcb32

Please sign in to comment.