Browse Source

Add pub to compileRaylib (#5143)

This is necessary to allow for using the function in dependent `build.zig`s.
pull/5145/head
annaymone 2 months ago
committed by GitHub
parent
commit
99c4d4b597
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build.zig

+ 1
- 1
build.zig View File

@ -99,7 +99,7 @@ const config_h_flags = outer: {
break :outer flags[0..i].*;
};
fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.builtin.OptimizeMode, options: Options) !*std.Build.Step.Compile {
pub fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.builtin.OptimizeMode, options: Options) !*std.Build.Step.Compile {
var raylib_flags_arr: std.ArrayList([]const u8) = .empty;
defer raylib_flags_arr.deinit(b.allocator);

Loading…
Cancel
Save