| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | // Each dependency must either provide a `url` and `hash`, or a `path`. |
| 14 | 14 | // `zig build --fetch` can be used to fetch all dependencies of a package, recursively. |
| 15 | 15 | // Once all dependencies are fetched, `zig build` no longer requires |
| 16 | | // Internet connectivity. |
| 16 | // internet connectivity. |
| 17 | 17 | .dependencies = .{ |
| 18 | 18 | // See `zig fetch --save <url>` for a command-line interface for adding dependencies. |
| 19 | 19 | //.example = .{ |
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | // // obtained after fetching `url` and applying the inclusion rules given by |
| 27 | 27 | // // `paths`. |
| 28 | 28 | // // |
| 29 | | // // This field is the source of truth; packages do not come from an `url`; they |
| 29 | // // This field is the source of truth; packages do not come from a `url`; they |
| 30 | 30 | // // come from a `hash`. `url` is just one of many possible mirrors for how to |
| 31 | 31 | // // obtain a package matching this `hash`. |
| 32 | 32 | // // |