From 82a5c177fed33a5c2f01ee3bc862388c5722a551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=92riks=20Remess?= Date: Fri, 10 Oct 2025 14:40:56 +0300 Subject: [PATCH] gtk4-layer-shell: reenable ubsan --- pkg/gtk4-layer-shell/build.zig | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/gtk4-layer-shell/build.zig b/pkg/gtk4-layer-shell/build.zig index 451ffe9a7..818b48f45 100644 --- a/pkg/gtk4-layer-shell/build.zig +++ b/pkg/gtk4-layer-shell/build.zig @@ -120,16 +120,6 @@ fn buildLib(b: *std.Build, module: *std.Build.Module, options: anytype) !*std.Bu b.fmt("-DGTK_LAYER_SHELL_MAJOR={}", .{lib_version.major}), b.fmt("-DGTK_LAYER_SHELL_MINOR={}", .{lib_version.minor}), b.fmt("-DGTK_LAYER_SHELL_MICRO={}", .{lib_version.patch}), - - // Zig 0.14 regression: this is required because building with - // ubsan results in unknown symbols. Bundling the ubsan/compiler - // RT doesn't help. I'm not sure what the root cause is but I - // suspect its related to this: - // https://github.com/ziglang/zig/issues/23052 - // - // We can remove this in the future for Zig updates and see - // if our binaries run in debug on NixOS. - "-fno-sanitize=undefined", }, });