From 8e492f7d475e3ec7c022976f6bfd1e46d55b79d2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 7 Jul 2022 20:47:43 -0700 Subject: [PATCH] compiler_rt: enable __clear_cache for stage2 --- lib/compiler_rt/clear_cache.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/compiler_rt/clear_cache.zig b/lib/compiler_rt/clear_cache.zig index b21606814c..d2dbfea39f 100644 --- a/lib/compiler_rt/clear_cache.zig +++ b/lib/compiler_rt/clear_cache.zig @@ -12,9 +12,7 @@ pub const panic = @import("common.zig").panic; // specified range. comptime { - if (builtin.zig_backend != .stage2_llvm) { - _ = clear_cache; - } + _ = clear_cache; } fn clear_cache(start: usize, end: usize) callconv(.C) void {