wasmserve: best-effort update to latest Zig build API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
fc45fd594e
commit
9afb9e041b
3 changed files with 18 additions and 933 deletions
|
|
@ -18,7 +18,7 @@ Then in your `build.zig` add:
|
|||
...
|
||||
const wasmserve = @import("libs/wasmserve/wasmserve.zig");
|
||||
|
||||
pub fn build(b: *Builder) void {
|
||||
pub fn build(b: *Build) void {
|
||||
...
|
||||
const serve_step = try wasmserve.serve(exe, .{ .watch_paths = &.{"src/main.zig"} });
|
||||
const run_step = b.step("run", "Run development web server");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue