Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Pollable variant of RPC functions #49

Merged
merged 8 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,438 changes: 741 additions & 697 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions wasm-rpc-stubgen/src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ pub fn generate_cargo_toml(def: &StubDefinition) -> anyhow::Result<()> {
path: "wit/deps/wasm-rpc".to_string(),
},
);

wit_dependencies.insert(
"wasi:io".to_string(),
WitDependency {
path: "wit/deps/io".to_string(),
},
);

for dep in &def.unresolved_deps {
let dep_package = &dep.name;
let stub_package_name = format!("{}-stub", def.root_package_name);
Expand Down
Loading
Loading