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](...@@ -11,10 +11,9 @@ For a full reference on the fields available in `deps.zig` you can check [here](
11### Adding `deps.zig` to your `build.zig`11### Adding `deps.zig` to your `build.zig`
12```diff12```diff
13 const std = @import("std");13 const std = @import("std");
14 const Builder = std.build.Builder;
15+const deps = @import("./deps.zig");14+const deps = @import("./deps.zig");
16 15
17 pub fn build(b: *Builder) void {16 pub fn build(b: *std.build.Builder) void {
18 const target = b.standardTargetOptions(.{});17 const target = b.standardTargetOptions(.{});
19 18
20 const mode = b.standardReleaseOptions();19 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...@@ -6,7 +6,7 @@ This file is generated by [`zigmod fetch`](commands/fetch.md) and is an amalgama
6The relative path root to which all dependency sources are saved. Currently always `.zigmod/deps`.6The relative path root to which all dependency sources are saved. Currently always `.zigmod/deps`.
77
8### `addAllTo`8### `addAllTo`
9- Type: `pub fn (exe: *build.LibExeObjStep) void`9- Type: `pub fn (exe: *std.build.LibExeObjStep) void`
10A 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.10A 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
12### `_ids`12### `_ids`