tokio example requires enabling a cargo feature

and also a dummy C example
This commit is contained in:
Pat Hickey
2021-04-14 16:54:52 -07:00
parent 7202494e9d
commit 2ddf4c1da9
3 changed files with 23 additions and 6 deletions

View File

@@ -0,0 +1 @@
wasmtime-wasi/tokio

5
examples/tokio/main.c Normal file
View File

@@ -0,0 +1,5 @@
int main(int argc, char *argv[]) {
// This example is specific to integrating with Rust's tokio ecosystem, so
// it isnt applicable to C/C++.
return 0;
}