mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
debug: introduce bun.callmod_inline (#9001)
This commit is contained in:
@@ -687,7 +687,7 @@ pub fn startsWithGeneric(comptime T: type, self: []const T, str: []const T) bool
|
||||
}
|
||||
|
||||
pub inline fn endsWith(self: string, str: string) bool {
|
||||
return str.len == 0 or @call(.always_inline, std.mem.endsWith, .{ u8, self, str });
|
||||
return str.len == 0 or @call(bun.callmod_inline, std.mem.endsWith, .{ u8, self, str });
|
||||
}
|
||||
|
||||
pub inline fn endsWithComptime(self: string, comptime str: anytype) bool {
|
||||
|
||||
Reference in New Issue
Block a user