mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
[WIP] Setup rust side to call Str.fromUtf8
This commit is contained in:
parent
d7ba522155
commit
815f633a58
14 changed files with 371 additions and 18 deletions
|
@ -25,7 +25,7 @@ comptime {
|
|||
exportStrFn(str.strNumberOfBytes, "number_of_bytes");
|
||||
exportStrFn(str.strFromIntC, "from_int");
|
||||
exportStrFn(str.strEqual, "equal");
|
||||
exportStrFn(str.isValidUnicode, "is_valid_unicode");
|
||||
exportStrFn(str.numberOfNextCodepointBytesC, "number_of_next_codepoint_bytes");
|
||||
}
|
||||
|
||||
// Export helpers - Must be run inside a comptime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue