Skip to content

Commit a4e2fe3

Browse files
authored
Shorten README example
1 parent c8d1ade commit a4e2fe3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,9 @@ zig fetch --save=SDL git+https://github.com/allyourcodebase/SDL
1515

1616
Add this to your `build.zig` :
1717
```zig
18-
pub fn build(b: *std.Build) void {
19-
// ...
20-
2118
const sdl_dep = b.dependency("SDL", .{
2219
.optimize = .ReleaseFast,
2320
.target = target,
2421
});
25-
26-
// ...
27-
2822
exe.linkLibrary(sdl_dep.artifact("SDL2"));
29-
30-
// ...
31-
}
3223
```

0 commit comments

Comments
 (0)