Compare commits
2 commits
62f118a18c
...
2dd23a7580
Author | SHA1 | Date | |
---|---|---|---|
2dd23a7580 | |||
7dc30ed1e2 |
3 changed files with 2 additions and 4 deletions
|
@ -42,7 +42,7 @@ In `build.zig`:
|
||||||
|
|
||||||
```zig
|
```zig
|
||||||
// Add anyascii.zig dependency.
|
// Add anyascii.zig dependency.
|
||||||
const anyascii = b.dependency("anyascii", .{
|
const anyascii = b.dependency("anyascii.zig", .{
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
// Although this function looks imperative, note that its job is to
|
|
||||||
// declaratively construct a build graph that will be executed by an external
|
|
||||||
// runner.
|
|
||||||
pub fn build(b: *std.Build) void {
|
pub fn build(b: *std.Build) void {
|
||||||
const target = b.standardTargetOptions(.{});
|
const target = b.standardTargetOptions(.{});
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"build.zig",
|
"build.zig",
|
||||||
"build.zig.zon",
|
"build.zig.zon",
|
||||||
"src",
|
"src",
|
||||||
|
"anyascii",
|
||||||
"README.md",
|
"README.md",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue