[WIP] Setup rust side to call Str.fromUtf8

This commit is contained in:
Jared Ramirez 2021-01-21 16:49:28 -08:00
parent d7ba522155
commit 815f633a58
14 changed files with 371 additions and 18 deletions

View file

@ -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