diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aee7cdb..fbdca20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI -on: +on: push: branches: - main @@ -40,7 +40,7 @@ jobs: run: python3 -m pip install -r requirements.txt # Ideally we would use this but it seems to be broken - # - name: Setup wasm-tools + # - name: Setup wasm-tools # uses: jcbhmr/setup-wasm-tools@v2 # with: # wasm-tools-version: 1.207 @@ -62,7 +62,7 @@ jobs: - name: Run mem64 test run: | - zig build test-mem64 + zig build -Doptimize=ReleaseSafe test-mem64 - name: Run wasi testsuite run: | diff --git a/src/vm_stack.zig b/src/vm_stack.zig index 154cea6..9c957d8 100644 --- a/src/vm_stack.zig +++ b/src/vm_stack.zig @@ -854,7 +854,6 @@ const InstructionFuncs = struct { }; fn run(pc: u32, code: [*]const Instruction, stack: *Stack) anyerror!void { - std.debug.print("Running code {any}\n", .{code[pc]}); try @call(.always_tail, InstructionFuncs.lookup(code[pc].opcode), .{ pc, code, stack }); } @@ -2102,8 +2101,6 @@ const InstructionFuncs = struct { else => unreachable, }; - std.debug.print("Growing from {} to {}", .{ old_num_pages, num_pages }); - if (num_pages >= 0 and memory_instance.grow(@as(usize, @intCast(num_pages)))) { stack.pushI32(old_num_pages); try @call(.always_tail, InstructionFuncs.lookup(code[pc + 1].opcode), .{ pc + 1, code, stack });