aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/trunctfsf2.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-16 15:14:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-17 16:38:59 -0700
commitbbc610339814908e68d221748dffdbd8d8ec4f09 (patch)
tree64ee6d459cd783d7f76bdf66b10843346485b02d /lib/compiler_rt/trunctfsf2.zig
parent453243d9e02a5d893828694e7090515de7777bb8 (diff)
downloadzig-bbc610339814908e68d221748dffdbd8d8ec4f09.tar.gz
zig-bbc610339814908e68d221748dffdbd8d8ec4f09.zip
compiler-rt: fix tests
Diffstat (limited to 'lib/compiler_rt/trunctfsf2.zig')
-rw-r--r--lib/compiler_rt/trunctfsf2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler_rt/trunctfsf2.zig b/lib/compiler_rt/trunctfsf2.zig
index f507f5ad2b..0fcd5e1e08 100644
--- a/lib/compiler_rt/trunctfsf2.zig
+++ b/lib/compiler_rt/trunctfsf2.zig
@@ -13,7 +13,7 @@ comptime {
}
}
-fn __trunctfsf2(a: f128) callconv(.C) f32 {
+pub fn __trunctfsf2(a: f128) callconv(.C) f32 {
return truncf(f32, f128, a);
}