mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
output harfbuzz version on startup
This commit is contained in:
@ -2,6 +2,7 @@ const builtin = @import("builtin");
|
|||||||
const options = @import("build_options");
|
const options = @import("build_options");
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const glfw = @import("glfw");
|
const glfw = @import("glfw");
|
||||||
|
const harfbuzz = @import("harfbuzz");
|
||||||
const tracy = @import("tracy");
|
const tracy = @import("tracy");
|
||||||
|
|
||||||
const App = @import("App.zig");
|
const App = @import("App.zig");
|
||||||
@ -11,6 +12,11 @@ const Config = @import("config.zig").Config;
|
|||||||
const log = std.log.scoped(.main);
|
const log = std.log.scoped(.main);
|
||||||
|
|
||||||
pub fn main() !void {
|
pub fn main() !void {
|
||||||
|
// Output some debug information right away
|
||||||
|
log.info("dependency versions harfbuzz={s}", .{
|
||||||
|
harfbuzz.versionString(),
|
||||||
|
});
|
||||||
|
|
||||||
const gpa = gpa: {
|
const gpa = gpa: {
|
||||||
// Use the libc allocator if it is available beacuse it is WAY
|
// Use the libc allocator if it is available beacuse it is WAY
|
||||||
// faster than GPA. We only do this in release modes so that we
|
// faster than GPA. We only do this in release modes so that we
|
||||||
|
Reference in New Issue
Block a user