chore: build and publish canary windows builds (#6834)

Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
dave caruso
2023-11-02 22:40:00 -07:00
committed by GitHub
parent 2a405f691e
commit 4403c40755
58 changed files with 2099 additions and 2880 deletions

View File

@@ -929,6 +929,10 @@ pub fn hasPrefixComptime(self: string, comptime alt: anytype) bool {
return self.len >= alt.len and eqlComptimeCheckLenWithType(u8, self[0..alt.len], alt, false);
}
pub fn hasPrefixComptimeUTF16(self: []const u16, comptime alt: []const u8) bool {
return self.len >= alt.len and eqlComptimeCheckLenWithType(u16, self[0..alt.len], comptime toUTF16Literal(alt), false);
}
pub fn hasSuffixComptime(self: string, comptime alt: anytype) bool {
return self.len >= alt.len and eqlComptimeCheckLenWithType(u8, self[self.len - alt.len ..], alt, false);
}