fixed github builds
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 18 Jul 2022 12:44:11 +0000 (07:44 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Mon, 18 Jul 2022 12:44:11 +0000 (07:44 -0500)
build.sh
src/wasm_emit.c

index b65fd1895603caa4922ab57f2e5ac39277b7a929..18021006c60becb0af1ac2537e295552e5f9ca5b 100755 (executable)
--- 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.
index d016b8a420e4c96ec4a7f511bcec5a64af6727ad..b25eba7a20aec315cffa36c776201082703f78b7 100644 (file)
@@ -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;