diff --git a/.circleci/config.yml b/.circleci/config.yml index 2747aebd2061dda6af8cb80adf60043995e02a4e..e78e043bff14a7eaa1f9e516825d67794e304fcf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: - run: git submodule update --init --recursive - run: apt -y install xz-utils jq - - run: ./download_zig.sh 0.8.0-dev.2133+ad33e3483 + - run: ./download_zig.sh 0.8.0-dev.2711+11ae6c42c - run: zig version - run: zig env - run: zig build -Dbootstrap diff --git a/README.md b/README.md index a7d271127daec489a229559a6f73717b3e2af87c..e97dec51557dffd9e27a7718527c96f66e143b2c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A package manager for the Zig programming language. - https://github.com/nektro/zigmod/releases ## Built With -- Zig master `0.8.0-dev.2133+ad33e3483` +- Zig master `0.8.0-dev.2711+11ae6c42c` ### Build from Source Initially, diff --git a/build.zig b/build.zig index 9018740c929f45be04092e865847cba7098b6d6d..08f0c87416b7691bd820bdefe04ebd9605b75ad5 100644 --- a/build.zig +++ b/build.zig @@ -10,7 +10,7 @@ pub fn build(b: *Builder) void { const mode = b.standardReleaseOptions(); const use_full_name = b.option(bool, "use-full-name", "") orelse false; - const with_arch_os = b.fmt("-{s}-{s}", .{ @tagName(target.cpu_arch orelse builtin.arch), @tagName(target.os_tag orelse builtin.os.tag) }); + const with_arch_os = b.fmt("-{s}-{s}", .{ @tagName(target.cpu_arch orelse builtin.cpu.arch), @tagName(target.os_tag orelse builtin.os.tag) }); const exe_name = b.fmt("{s}{s}", .{ "zigmod", if (use_full_name) with_arch_os else "" }); const exe = b.addExecutable(exe_name, "src/main.zig"); diff --git a/docs/README.md b/docs/README.md index 83640c3f58395bef3a967d84a5eefdb1ba07dfbd..f179f98cc0437fb2b51d8ae58e6bc2adc4f9be9d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -8,7 +8,7 @@ You can learn more about Zig here: The rest of this documentation will assume you already have Zig installed. -As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. The most recent release Zigmod was verified to work with is `0.8.0-dev.2133+ad33e3483`. +As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. The most recent release Zigmod was verified to work with is `0.8.0-dev.2711+11ae6c42c`. ## Download You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. diff --git a/src/main.zig b/src/main.zig index 027ce0b320a0ee9a8138387e55d6c6f4bf150133..36e42d653ce811651d1542dc0fa5a89ca52cecaf 100644 --- a/src/main.zig +++ b/src/main.zig @@ -20,7 +20,7 @@ pub fn main() !void { u.print("zigmod {s} {s} {s} {s}", .{ build_options.version, @tagName(builtin.os.tag), - @tagName(builtin.arch), + @tagName(builtin.cpu.arch), @tagName(builtin.abi), }); return;