mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Merge pull request #3365 from rtfeldman/to-scalars
Add Str.toScalars builtin
This commit is contained in:
commit
75b4b3a206
17 changed files with 460 additions and 20 deletions
|
@ -217,6 +217,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
match self.lowlevel {
|
||||
// Str
|
||||
StrConcat => self.load_args_and_call_zig(backend, bitcode::STR_CONCAT),
|
||||
StrToScalars => self.load_args_and_call_zig(backend, bitcode::STR_TO_SCALARS),
|
||||
StrJoinWith => self.load_args_and_call_zig(backend, bitcode::STR_JOIN_WITH),
|
||||
StrIsEmpty => match backend.storage.get(&self.arguments[0]) {
|
||||
StoredValue::StackMemory { location, .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue