compiler_rt: enable __clear_cache for stage2

This commit is contained in:
Andrew Kelley 2022-07-07 20:47:43 -07:00
parent 6a3a0fe7ae
commit 8e492f7d47

View file

@ -12,10 +12,8 @@ pub const panic = @import("common.zig").panic;
// specified range. // specified range.
comptime { comptime {
if (builtin.zig_backend != .stage2_llvm) {
_ = clear_cache; _ = clear_cache;
} }
}
fn clear_cache(start: usize, end: usize) callconv(.C) void { fn clear_cache(start: usize, end: usize) callconv(.C) void {
const x86 = switch (arch) { const x86 = switch (arch) {