add basic functionality of Str.split

This commit is contained in:
Folkert 2023-02-08 15:44:40 +01:00
parent 301bf0f367
commit f32d31341a
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 11 additions and 4 deletions

View file

@ -784,6 +784,13 @@ trait Backend<'a> {
arg_layouts,
ret_layout,
),
LowLevel::StrSplit => self.build_fn_call(
sym,
bitcode::STR_SPLIT.to_string(),
args,
arg_layouts,
ret_layout,
),
LowLevel::PtrCast => {
debug_assert_eq!(
1,