mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
count utf bytes
This commit is contained in:
parent
e48a604862
commit
a66320b00c
1 changed files with 7 additions and 0 deletions
|
@ -847,6 +847,13 @@ trait Backend<'a> {
|
|||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::StrCountUtf8Bytes => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::STR_COUNT_UTF8_BYTES.to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::StrFromUtf8Range => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::STR_FROM_UTF8_RANGE.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue