Skip to content

Commit

Permalink
Move callback guest out of direct examples dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Sep 19, 2019
1 parent f709122 commit 3b200fa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/callback-guest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Call back guest

This is part of the `callback` example. This Wasm module passes host imports and its own functions to the Wasm host to execute.

See `examples/callback.rs` for the host
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use wasmer_runtime::{compile_with, compiler_for_backend, func, imports, Backend, Ctx};
use wasmer_runtime_core::{structures::TypedIndex, types::TableIndex};

static WASM: &'static str = "examples/callback-guest.wasm";
static WASM: &'static str = "examples/callback-guest/callback-guest.wasm";

/// This function matches our arbitrarily decided callback signature
/// in this example we'll only call functions that take no arguments and return one value
Expand Down

0 comments on commit 3b200fa

Please sign in to comment.