tokio example requires enabling a cargo feature
and also a dummy C example
This commit is contained in:
1
examples/tokio/CARGO_FEATURES
Normal file
1
examples/tokio/CARGO_FEATURES
Normal file
@@ -0,0 +1 @@
|
||||
wasmtime-wasi/tokio
|
||||
5
examples/tokio/main.c
Normal file
5
examples/tokio/main.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user