mirror of
https://github.com/ziglang/zig.git
synced 2025-02-08 13:40:30 +00:00
Using --watch I noticed a couple of issues with my initial attempt. 1) The index I used as 'completion key' was not stable over time, when directories are being added/removed the key no longer corresponds with the intended dir. 2) There exists a race condition in which we receive a completion notification for a directory that was removed. My solution is to generate a key value and associate it with each Directory. |
||
---|---|---|
.. | ||
compiler | ||
compiler_rt | ||
docs | ||
fuzzer | ||
include | ||
init | ||
libc | ||
libcxx | ||
libcxxabi | ||
libunwind | ||
std | ||
tsan | ||
c.zig | ||
compiler_rt.zig | ||
fuzzer.zig | ||
zig.h |