diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-02 13:34:11 -0800 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-01-02 13:34:23 -0800 |
| commit | 7a5ef3da2b4fe39cf25919dd451d3adb88ed883e (patch) | |
| tree | d2d5114a74731b349debe89fc024e9f327c53781 /build.zig | |
| parent | cb8d30f938e873f1d14485bc10bf7ebd201cd436 (diff) | |
remove sentry test for macOS, remove windows check
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -159,6 +159,9 @@ pub fn build(b: *std.Build) !void { ) orelse sentry: { switch (target.result.os.tag) { .macos, .ios => break :sentry true, + + // Note its false for linux because the crash reports on Linux + // don't have much useful information. else => break :sentry false, } }; @@ -1256,9 +1259,7 @@ fn addDeps( } // Sentry - if (config.sentry) sentry: { - if (target.result.os.tag == .windows) break :sentry; - + if (config.sentry) { const sentry_dep = b.dependency("sentry", .{ .target = target, .optimize = optimize, |
