enable some utf8 conversion tests

This commit is contained in:
Folkert 2023-02-12 14:04:54 +01:00
parent aa113f169c
commit 4e38a4ce32
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 38 additions and 8 deletions

View file

@ -868,6 +868,13 @@ trait Backend<'a> {
arg_layouts,
ret_layout,
),
LowLevel::StrToUtf8 => self.build_fn_call(
sym,
bitcode::STR_TO_UTF8.to_string(),
args,
arg_layouts,
ret_layout,
),
LowLevel::StrCountUtf8Bytes => self.build_fn_call(
sym,
bitcode::STR_COUNT_UTF8_BYTES.to_string(),