In addition to adding support for String arguments, I've also tweaked how returning strings works. We no longer to inject an extra out parameter in order to get the length of the string. Instead, we return a whole struct RawString (RustOwnedString on the C# side). This simplifies code generation nicely.
In addition to adding support for
String
arguments, I've also tweaked how returning strings works. We no longer to inject an extraout
parameter in order to get the length of the string. Instead, we return a whole structRawString
(RustOwnedString
on the C# side). This simplifies code generation nicely.