From 9aa220ebb5553b12fe4f059c7b97bab0404ab689 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 3 Mar 2022 00:52:39 -0800 Subject: [PATCH] freestanding libc: add missing export of sqrt, sqrtf this was a typo in a previous commit, didn't mean to omit these. --- lib/std/special/c.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/std/special/c.zig b/lib/std/special/c.zig index be5ee18aa6..9a246f75ed 100644 --- a/lib/std/special/c.zig +++ b/lib/std/special/c.zig @@ -108,6 +108,9 @@ comptime { @export(fmax, .{ .name = "fmax", .linkage = .Strong }); @export(fmaxf, .{ .name = "fmaxf", .linkage = .Strong }); + + @export(sqrt, .{ .name = "sqrt", .linkage = .Strong }); + @export(sqrtf, .{ .name = "sqrtf", .linkage = .Strong }); } // Avoid dragging in the runtime safety mechanisms into this .o file,