authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-03-03 00:52:39-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-03-03 00:52:55-08:00
log9aa220ebb5553b12fe4f059c7b97bab0404ab689
tree19aa1181735fc147391c354c834b575102f57379
parent0a4f58490f518a8d139a7c69773276bcc2441825

freestanding libc: add missing export of sqrt, sqrtf

this was a typo in a previous commit, didn't mean to omit these.

1 files changed, 3 insertions(+), 0 deletions(-)

lib/std/special/c.zig+3
...@@ -108,6 +108,9 @@ comptime {...@@ -108,6 +108,9 @@ comptime {
108108
109 @export(fmax, .{ .name = "fmax", .linkage = .Strong });109 @export(fmax, .{ .name = "fmax", .linkage = .Strong });
110 @export(fmaxf, .{ .name = "fmaxf", .linkage = .Strong });110 @export(fmaxf, .{ .name = "fmaxf", .linkage = .Strong });
111
112 @export(sqrt, .{ .name = "sqrt", .linkage = .Strong });
113 @export(sqrtf, .{ .name = "sqrtf", .linkage = .Strong });
111}114}
112115
113// Avoid dragging in the runtime safety mechanisms into this .o file,116// Avoid dragging in the runtime safety mechanisms into this .o file,