| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | A general-purpose programming language and toolchain for maintaining |
| 4 | 4 | **robust**, **optimal**, and **reusable** software. |
| 5 | 5 | |
| 6 | | https://ziglang.org/ |
| 6 | <https://ziglang.org/> |
| 7 | 7 | |
| 8 | 8 | ## Documentation |
| 9 | 9 | |
| ... | ... | @@ -21,7 +21,7 @@ running `zig std`, which will open a browser tab. |
| 21 | 21 | |
| 22 | 22 | * [download a pre-built binary](https://ziglang.org/download/) |
| 23 | 23 | * [install from a package manager](https://ziglang.org/learn/getting-started/#managers) |
| 24 | | * [bootstrap zig for any target](https://github.com/ziglang/zig-bootstrap) |
| 24 | * [bootstrap zig for any target](https://codeberg.org/ziglang/zig-bootstrap) |
| 25 | 25 | |
| 26 | 26 | A Zig installation is composed of two things: |
| 27 | 27 | |
| ... | ... | @@ -101,7 +101,7 @@ Dependencies: |
| 101 | 101 | * LLVM, Clang, and LLD libraries built using Zig. |
| 102 | 102 | |
| 103 | 103 | The easiest way to obtain both of these artifacts is to use |
| 104 | | [zig-bootstrap](https://github.com/ziglang/zig-bootstrap), which creates the |
| 104 | [zig-bootstrap](https://codeberg.org/ziglang/zig-bootstrap), which creates the |
| 105 | 105 | directory `out/zig-$target-$cpu` and `out/$target-$cpu`, to be used as |
| 106 | 106 | `$ZIG_PREFIX` and `$LLVM_PREFIX`, respectively, in the following command: |
| 107 | 107 | |
| ... | ... | @@ -232,7 +232,7 @@ You now have the `zig.exe` binary at `bin\zig.exe` and you can run the tests: |
| 232 | 232 | bin\zig.exe build test |
| 233 | 233 | ``` |
| 234 | 234 | |
| 235 | | This can take a long time. For tips & tricks on using the test suite, see [Contributing](https://github.com/ziglang/zig/blob/master/.github/CONTRIBUTING.md#editing-source-code). |
| 235 | This can take a long time. For tips & tricks on using the test suite, see [Editing Source Code](#editing-source-code). |
| 236 | 236 | |
| 237 | 237 | Note: In case you get the error "llvm-config not found" (or similar), make sure that you have **no** trailing slash (`/` or `\`) at the end of the `-DCMAKE_PREFIX_PATH` value. |
| 238 | 238 | |
| ... | ... | @@ -613,7 +613,7 @@ architecture. |
| 613 | 613 | |
| 614 | 614 | QEMU packages provided by some system package managers (such as Debian) may be |
| 615 | 615 | a few releases old, or may be missing newer targets such as aarch64 and RISC-V. |
| 616 | | [ziglang/qemu-static](https://github.com/ziglang/qemu-static) offers static |
| 616 | [ziglang/qemu-static](https://codeberg.org/ziglang/qemu-static) offers static |
| 617 | 617 | binaries of the latest QEMU version. |
| 618 | 618 | |
| 619 | 619 | ##### Testing Non-Native glibc Targets |
| ... | ... | @@ -745,7 +745,7 @@ provided by the `zig std` HTTP server as well as produced by `-femit-docs`. |
| 745 | 745 | |
| 746 | 746 | ## Testing Zig Code With LLDB |
| 747 | 747 | |
| 748 | | [@jacobly0](https://github.com/jacobly0) maintains a fork of LLDB with Zig support: https://github.com/jacobly0/llvm-project/tree/lldb-zig |
| 748 | [@jacobly0](https://github.com/jacobly0) maintains a fork of LLDB with Zig support: <https://github.com/jacobly0/llvm-project/tree/lldb-zig> |
| 749 | 749 | |
| 750 | 750 | This fork only contains changes for debugging programs compiled by Zig's self-hosted backends, i.e. `zig build-exe -fno-llvm ...`. |
| 751 | 751 | |