Skip to content

Commit 99c4d4b

Browse files
authored
Add pub to compileRaylib (#5143)
This is necessary to allow for using the function in dependent `build.zig`s.
1 parent 79497e1 commit 99c4d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const config_h_flags = outer: {
9999
break :outer flags[0..i].*;
100100
};
101101

102-
fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.builtin.OptimizeMode, options: Options) !*std.Build.Step.Compile {
102+
pub fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.builtin.OptimizeMode, options: Options) !*std.Build.Step.Compile {
103103
var raylib_flags_arr: std.ArrayList([]const u8) = .empty;
104104
defer raylib_flags_arr.deinit(b.allocator);
105105

0 commit comments

Comments
 (0)