I am running zig build test -fincremental --watch in a minimal repo having had been created with zig init and having had this zig-sqlite package added.
When I make changes to a file, I get compile errors like this until I kill and restart the zig build test process:
Build Summary: 2/5 steps succeeded; 1 failed; 1/1 tests passed
test transitive failure
└─ run test transitive failure
└─ compile test Debug native 273 errors
test
└─ run test
└─ compile test Debug native 273 errors
error: duplicate symbol definition: sqlite3_status64
note: defined by .zig-cache/o/0d9f330882b0082415928ee467f2861d/sqlite3.o
note: defined by .zig-cache/o/0d9f330882b0082415928ee467f2861d/sqlite3.o
error: duplicate symbol definition: sqlite3_mutex_enter
note: defined by .zig-cache/o/0d9f330882b0082415928ee467f2861d/sqlite3.o
note: defined by .zig-cache/o/0d9f330882b0082415928ee467f2861d/sqlite3.o
[it goes on like this for a bit, and then ends with]
error: 273 compilation errors
Build Summary: 2/5 steps succeeded; 1 failed; 1/1 tests passed
test transitive failure
└─ run test transitive failure
└─ compile test Debug native 273 errors
That is, it works the first time I start the process, but once I make any change and save to trigger the watcher to run again, these duplicate symbol errors show up. Does anyone know why this would be happening, or how to fix it if possible?