I am using zig master 0.11.0-dev.1438+5d46addd2
I tried importing libuv like this:
const c = @cImport({
@cInclude("uv.h");
});
but got the same old error as in this old closed issue
https://github.com/ziglang/zig/issues/12471#issuecomment-1219839044
error: dependency loop detected
pub const uv_close_cb = ?*const fn ([*c]uv_handle_t) callconv(.C) void;
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I don't really understand why this is happening, as the github issue is marked as resolved but I am still getting the same error with the newest version.