mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
add fromUtf16 and 32, as well as lossy variants
This commit is contained in:
parent
032f1cc5a4
commit
414fecd14d
17 changed files with 805 additions and 74 deletions
|
@ -1677,6 +1677,13 @@ trait Backend<'a> {
|
|||
ret_layout,
|
||||
)
|
||||
}
|
||||
LowLevel::StrFromUtf8Lossy => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::STR_FROM_UTF8_LOSSY.to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::StrRepeat => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::STR_REPEAT.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue