aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/libghostty-vt/src/main.zig')
-rw-r--r--vendor/libghostty-vt/src/main.zig12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/main.zig b/vendor/libghostty-vt/src/main.zig
index b08e63dd..fe41640a 100644
--- a/vendor/libghostty-vt/src/main.zig
+++ b/vendor/libghostty-vt/src/main.zig
@@ -21,6 +21,18 @@ pub const std_options: std.Options = if (@hasDecl(entrypoint, "std_options"))
else
.{};
+comptime {
+ // Force-reference our memset override so its export is emitted.
+ // See quirks_memset.zig for details on why this exists.
+ _ = @import("quirks_memset.zig");
+}
+
test {
+ // Zig 0.16.0 has made test logging more strict. Now, *anything* that gets
+ // printed to stderr results in a "failed command" message, even if the
+ // tests ultimately passed. To reduce confusion here (and honestly, test
+ // log spam in general), we bump the default testing log level to error.
+ std.testing.log_level = std.log.Level.err;
_ = entrypoint;
+ _ = @import("quirks_memset.zig");
}