mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Fix libuv tests
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
const std = @import("std");
|
||||||
const stream = @import("stream.zig");
|
const stream = @import("stream.zig");
|
||||||
|
|
||||||
pub const Loop = @import("Loop.zig");
|
pub const Loop = @import("Loop.zig");
|
||||||
@ -16,6 +17,11 @@ pub const Embed = @import("Embed.zig");
|
|||||||
pub usingnamespace @import("error.zig");
|
pub usingnamespace @import("error.zig");
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
// Leak a loop... I don't know why but this fixes CI failures. Probably
|
||||||
|
// a miscompilation or something. TODO: double check this once self-hosted
|
||||||
|
// lands to see if we need this.
|
||||||
|
_ = try Loop.init(std.heap.page_allocator);
|
||||||
|
|
||||||
_ = @import("tests.zig");
|
_ = @import("tests.zig");
|
||||||
_ = stream;
|
_ = stream;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user