mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
pkg/libuv: workaround stage2 issue
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
pub usingnamespace @cImport({
|
||||
const builtin = @import("builtin");
|
||||
|
||||
pub usingnamespace switch (builtin.zig_backend) {
|
||||
.stage1 => @cImport({
|
||||
@cInclude("uv.h");
|
||||
});
|
||||
}),
|
||||
|
||||
// Workaround for:
|
||||
// https://github.com/ziglang/zig/issues/12325
|
||||
else => @import("cimport.zig"),
|
||||
};
|
||||
|
5833
pkg/libuv/cimport.zig
Normal file
5833
pkg/libuv/cimport.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user