mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
with_ascii_lowercased zig builtin
This commit is contained in:
parent
809fe23afd
commit
8403f1ea19
36 changed files with 303 additions and 163 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue