From bcac039ceda6dc137145b08ee5025d92fe198ca4 Mon Sep 17 00:00:00 2001 From: 10aded <10aded-Streaming@protonmail.com> Date: Wed, 7 Feb 2024 13:43:00 -0500 Subject: [PATCH] made the instructions as to how to determine the url of the Windows Zig Compiler dev kit clearer --- Building-Zig-on-Windows.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Building-Zig-on-Windows.md b/Building-Zig-on-Windows.md index c97786c..bf0ce7f 100644 --- a/Building-Zig-on-Windows.md +++ b/Building-Zig-on-Windows.md @@ -6,12 +6,14 @@ This one has the benefit that LLVM, LLD, and Clang are built in Release mode, while your Zig build has the option to be a Debug build. It also works completely independently from MSVC so you don't need it to be installed. -Determine the URL by [looking at the CI script](https://github.com/ziglang/zig/blob/master/ci/x86_64-windows-debug.ps1#L1-L4). It will look something like this (replace `$VERSION` with the one you see by following the above link): +The Dev Kit can be downloaded from a url that has the following form. ``` https://ziglang.org/deps/zig+llvm+lld+clang-x86_64-windows-gnu-$VERSION.zip ``` +Determine the precise URL by looking at the [CI script](https://github.com/ziglang/zig/blob/master/ci/x86_64-windows-debug.ps1#L1-L4), specifically the variables `$ZIG_LLVM_CLANG_LLD_NAME` and `$ZIG_LLVM_CLANG_LLD_URL` (currently lines 2 and 4). + This zip file contains: * An older Zig installation.