mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
12 lines
262 B
Zig
12 lines
262 B
Zig
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"),
|
|
};
|