with_ascii_lowercased zig builtin

This commit is contained in:
Norbert Hajagos 2025-01-08 21:22:33 +01:00
parent 809fe23afd
commit 8403f1ea19
No known key found for this signature in database
36 changed files with 303 additions and 163 deletions

View file

@ -1549,6 +1549,7 @@ fn low_level_no_rc(lowlevel: &LowLevel) -> RC {
ListPrepend => RC::Rc,
StrJoinWith => RC::NoRc,
ListSortWith => RC::Rc,
StrWithAsciiLowercased => RC::Rc,
ListAppendUnsafe
| ListReserve

View file

@ -1258,6 +1258,7 @@ pub(crate) fn lowlevel_borrow_signature(op: LowLevel) -> &'static [Ownership] {
StrReleaseExcessCapacity => &[OWNED],
ListIncref => &[OWNED],
ListDecref => &[OWNED],
StrWithAsciiLowercased => &[OWNED],
Eq | NotEq => &[BORROWED, BORROWED],