From e9b5df80adbaa121cfb6e4dac2ee711336a8cbeb Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Mon, 18 Jul 2022 07:44:11 -0500 Subject: [PATCH] fixed github builds --- build.sh | 4 ++-- src/wasm_emit.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b65fd189..18021006 100755 --- a/build.sh +++ b/build.sh @@ -16,8 +16,8 @@ CC='gcc' # The architecture of your system. If your not sure, leave this alone. ARCH="$(uname -m)" -RUNTIME_LIBRARY="ovmwasm" -# RUNTIME_LIBRARY="wasmer" +# RUNTIME_LIBRARY="ovmwasm" +RUNTIME_LIBRARY="wasmer" # Comment this line if you do not want the above library installed, # and do not with to have the Onyx runtime. diff --git a/src/wasm_emit.c b/src/wasm_emit.c index d016b8a4..b25eba7a 100644 --- a/src/wasm_emit.c +++ b/src/wasm_emit.c @@ -4105,7 +4105,7 @@ void emit_entity(Entity* ent) { void onyx_wasm_module_link(OnyxWasmModule *module, OnyxWasmLinkOptions *options) { // If the pointer size is going to change, // the code will probably need to be altered. - static_assert(POINTER_SIZE == 4); + assert(POINTER_SIZE == 4); module->memory_min_size = options->memory_min_size; module->memory_max_size = options->memory_max_size; -- 2.25.1