From cdf7e7dba9cbe80d71cc094b257447e5a9f70767 Mon Sep 17 00:00:00 2001 From: Luuk de Gram Date: Sat, 22 Oct 2022 14:02:16 +0200 Subject: [PATCH] fix: correctly import memcmp.zig in compiler-rt cmp.zig was accidently being referenced twice, rather than importing memcmp.zig. This means that its symbols were also not included in the generated compiler-rt output. --- lib/compiler_rt.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler_rt.zig b/lib/compiler_rt.zig index 9bb9accea4..e37fa92789 100644 --- a/lib/compiler_rt.zig +++ b/lib/compiler_rt.zig @@ -212,6 +212,6 @@ comptime { _ = @import("compiler_rt/memcpy.zig"); _ = @import("compiler_rt/memset.zig"); _ = @import("compiler_rt/memmove.zig"); - _ = @import("compiler_rt/cmp.zig"); + _ = @import("compiler_rt/memcmp.zig"); _ = @import("compiler_rt/bcmp.zig"); }