authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-20 12:00:20 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-03-20 12:00:20 -07:00
log477879333e91dd917a027d62db1804e5540b72d4
tree0b7898e563bcfd1ff3bdacd362bf9df78082b677
parent4560b93009d4f4c2e8b0077c5ea9cc7b61050d32

docs- include std in identifier


2 files changed, 2 insertions(+), 3 deletions(-)

docs/commands/fetch.md+1-2
......@@ -11,10 +11,9 @@ For a full reference on the fields available in `deps.zig` you can check [here](
1111### Adding `deps.zig` to your `build.zig`
1212```diff
1313 const std = @import("std");
14 const Builder = std.build.Builder;
1514+const deps = @import("./deps.zig");
1615
17 pub fn build(b: *Builder) void {
16 pub fn build(b: *std.build.Builder) void {
1817 const target = b.standardTargetOptions(.{});
1918
2019 const mode = b.standardReleaseOptions();
docs/deps.zig.md+1-1
......@@ -6,7 +6,7 @@ This file is generated by [`zigmod fetch`](commands/fetch.md) and is an amalgama
66The relative path root to which all dependency sources are saved. Currently always `.zigmod/deps`.
77
88### `addAllTo`
9- Type: `pub fn (exe: *build.LibExeObjStep) void`
9- Type: `pub fn (exe: *std.build.LibExeObjStep) void`
1010A helper function to add all of the packages, C files, and system libraries to the passed exectuable. It will also automatically link libC in the event that any C files are found in the dependency tree.
1111
1212### `_ids`