Skip to content

Commit

Permalink
upgrade to zig 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunnington committed Jun 9, 2024
1 parent 711dc99 commit 7fb683d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
version: 0.13.0

# The current default version of clang on macos runners is 14, which doesn't support the wasm64-freestanding target.
- name: Install LLVM and Clang
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Bytebox is a WebAssembly VM.
# Getting started

### Requirements
Bytebox currently builds with [Zig 0.12.x](https://ziglang.org/download) to avoid churn on zig master.
Bytebox currently builds with [Zig 0.13.x](https://ziglang.org/download) to avoid churn on zig master.

To run the tests:
* `wasm-tools` is required to run the wasm testsuite. You can install it via the rust toolchain `cargo install wasm-tools` or directly from the [release page](https://github.com/bytecodealliance/wasm-tools/releases).
Expand Down
4 changes: 2 additions & 2 deletions src/wasi.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1685,8 +1685,8 @@ const Helpers = struct {
};

if (getMemorySlice(module, iov_base, iov_len, errno)) |mem| {
iovec.iov_base = mem.ptr;
iovec.iov_len = mem.len;
iovec.base = mem.ptr;
iovec.len = mem.len;
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/wasm/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ pub fn main() !void {
}
};

var process = std.ChildProcess.init(&[_][]const u8{ "wasm-tools", "json-from-wast", "--pretty", "-o", suite_json_filename, suite_wast_path_relative }, allocator);
var process = std.process.Child.init(&[_][]const u8{ "wasm-tools", "json-from-wast", "--pretty", "-o", suite_json_filename, suite_wast_path_relative }, allocator);

process.cwd = suite_wasm_folder;

Expand Down

0 comments on commit 7fb683d

Please sign in to comment.