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

@ -593,6 +593,7 @@ pub(crate) fn run_low_level<'a, 'ctx>(
bitcode::STR_WITH_CAPACITY,
)
}
ListLenU64 => {
// List.len : List * -> U64
arguments!(list);
@ -635,6 +636,17 @@ pub(crate) fn run_low_level<'a, 'ctx>(
list_element_layout!(layout_interner, result_layout),
)
}
StrWithAsciiLowercased => {
arguments!(string);
call_str_bitcode_fn(
env,
&[string],
&[],
BitcodeReturns::Str,
bitcode::STR_WITH_ASCII_LOWERCASED,
)
}
ListConcat => {
debug_assert_eq!(args.len(), 2);