Skip to content

Commit

Permalink
Testing ci with releasesafe for memtest
Browse files Browse the repository at this point in the history
  • Loading branch information
Southporter committed May 22, 2024
1 parent b2713b5 commit 70d1e40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on:
on:
push:
branches:
- main
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand Down
3 changes: 0 additions & 3 deletions src/vm_stack.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

Expand Down Expand Up @@ -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 });
Expand Down

0 comments on commit 70d1e40

Please sign in to comment.