Skip to content

Commit

Permalink
Enable some dependency features for wasi-nn. (bytecodealliance#7855)
Browse files Browse the repository at this point in the history
This is a follow up of 7766 and 7792. It fixes compile issues for
wasmtime-wasi-nn standalone build.
  • Loading branch information
jianjunz authored Feb 1, 2024
1 parent 0d662c9 commit b6a8abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasi-nn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ workspace = true
[dependencies]
# These dependencies are necessary for the WITX-generation macros to work:
anyhow = { workspace = true }
wiggle = { workspace = true }
wiggle = { workspace = true, features = ["wasmtime"] }

# This dependency is necessary for the WIT-generation macros to work:
wasmtime = { workspace = true, features = ["component-model"] }
wasmtime = { workspace = true, features = ["component-model", "runtime"] }

# These dependencies are necessary for the wasi-nn implementation:
tracing = { workspace = true }
Expand Down

0 comments on commit b6a8abc

Please sign in to comment.