From 7b5eb0861780e53cd9cf74e6d898bc472e30eea4 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 4 Dec 2020 00:25:35 -0500 Subject: [PATCH] Re-snake_case main.zig args --- compiler/builtins/bitcode/src/main.zig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/builtins/bitcode/src/main.zig b/compiler/builtins/bitcode/src/main.zig index 3f1046e332..465d1c066e 100644 --- a/compiler/builtins/bitcode/src/main.zig +++ b/compiler/builtins/bitcode/src/main.zig @@ -26,14 +26,14 @@ comptime { } // Export helpers - Must be run inside a comptime -fn exportBuiltinFn(comptime func: anytype, comptime funcName: []const u8) void { - @export(func, .{ .name = "roc_builtins." ++ funcName, .linkage = .Strong }); +fn exportBuiltinFn(comptime func: anytype, comptime func_name: []const u8) void { + @export(func, .{ .name = "roc_builtins." ++ func_name, .linkage = .Strong }); } -fn exportNumFn(comptime func: anytype, comptime funcName: []const u8) void { - exportBuiltinFn(func, "num." ++ funcName); +fn exportNumFn(comptime func: anytype, comptime func_name: []const u8) void { + exportBuiltinFn(func, "num." ++ func_name); } -fn exportStrFn(comptime func: anytype, comptime funcName: []const u8) void { - exportBuiltinFn(func, "str." ++ funcName); +fn exportStrFn(comptime func: anytype, comptime func_name: []const u8) void { + exportBuiltinFn(func, "str." ++ func_name); } // Run all tests in imported modules