mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
build: disable Tracy by default even for debug builds
Our usage has a memory leak and I don't know where it is and don't want to spend the time finding it because we very rarely use the tracy integration anyways.
This commit is contained in:
@ -60,11 +60,14 @@ pub fn build(b: *std.Build) !void {
|
||||
var env = try std.process.getEnvMap(b.allocator);
|
||||
defer env.deinit();
|
||||
|
||||
// Note: Our tracy usage has a huge memory leak currently so only enable
|
||||
// this if you really want tracy integration and don't mind the memory leak.
|
||||
// Or, please contribute a fix because I don't know where it is.
|
||||
tracy = b.option(
|
||||
bool,
|
||||
"tracy",
|
||||
"Enable Tracy integration (default true in Debug on Linux)",
|
||||
) orelse (optimize == .Debug and target.isLinux());
|
||||
) orelse false;
|
||||
|
||||
flatpak = b.option(
|
||||
bool,
|
||||
|
Reference in New Issue
Block a user