zig icon indicating copy to clipboard operation
zig copied to clipboard

build system caching ignores changes to new autodoc wasm source files

Open xdBronch opened this issue 1 year ago • 0 comments

Zig Version

0.12.0-dev.3245+4f782d1e8

Steps to Reproduce and Observed Behavior

add autodoc generation like the following to a build.zig and run zig build

b.installDirectory(.{
    .source_dir = exe.getEmittedDocs(),
    .install_dir = .prefix,
    .install_subdir = "docs",
});

make a change to one of the files in zig/lib/docs/wasm and rerun zig build. the main.wasm wont be rebuilt and your changes ignored

Expected Behavior

the wasm file should be rebuilt with the new changes

xdBronch avatar Mar 12 '24 00:03 xdBronch