From 64be4a30ae1297f88d33e5844aa14bf0f56c926d Mon Sep 17 00:00:00 2001 From: Peter Huene Date: Wed, 25 Mar 2020 22:50:14 -0700 Subject: [PATCH] Fix wasmtime_linker_new call to pass in allow_shadowing argument. --- examples/linking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/linking.c b/examples/linking.c index f3dc199429..2b31d1a368 100644 --- a/examples/linking.c +++ b/examples/linking.c @@ -66,7 +66,7 @@ int main() { // Create our linker which will be linking our modules together, and then add // our WASI instance to it. - wasmtime_linker_t *linker = wasmtime_linker_new(store); + wasmtime_linker_t *linker = wasmtime_linker_new(store, false); bool ok = wasmtime_linker_define_wasi(linker, wasi); assert(ok);