mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Merge branch 'trunk' of github.com:rtfeldman/roc into list-str-capacity
This commit is contained in:
commit
456d8ff9cb
41 changed files with 790 additions and 210 deletions
|
@ -170,7 +170,7 @@ pub fn str_number_of_bytes<'a, 'ctx, 'env>(
|
|||
|
||||
// cast to the appropriate usize of the current build
|
||||
env.builder
|
||||
.build_int_cast(length, env.ptr_int(), "len_as_usize")
|
||||
.build_int_cast_sign_flag(length, env.ptr_int(), false, "len_as_usize")
|
||||
}
|
||||
|
||||
/// Str.startsWith : Str, Str -> Bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue