Skip to content

Commit

Permalink
Merge pull request #179 from kdx2a/master
Browse files Browse the repository at this point in the history
build.zig: use splitScalar instead of split
  • Loading branch information
ikskuh authored Jun 17, 2024
2 parents f102a72 + fac3c2d commit 44f1fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ const PrepareStubSourceStep = struct {
var writer = file.writer();
try writer.writeAll(".text\n");

var iter = std.mem.split(u8, sdl2_symbol_definitions, "\n");
var iter = std.mem.splitScalar(u8, sdl2_symbol_definitions, '\n');
while (iter.next()) |line| {
const sym = std.mem.trim(u8, line, " \r\n\t");
if (sym.len == 0)
Expand Down

0 comments on commit 44f1fa9

Please sign in to comment.