You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into rustler_codegen and it looks like tuple isn't supported in the macro. Is there any special reason for this? Tuples are types provided by the standard library in both rust and elixir, and already have both decode and encode implemented. I could use the NifTuple macro, but I'd probably just be re-implementing tuples, which seems wasteful.
The text was updated successfully, but these errors were encountered:
The
nif
macro fails when a tuple is passed to a function, like below:The error is:
I looked into rustler_codegen and it looks like tuple isn't supported in the macro. Is there any special reason for this? Tuples are types provided by the standard library in both rust and elixir, and already have both decode and encode implemented. I could use the
NifTuple
macro, but I'd probably just be re-implementing tuples, which seems wasteful.The text was updated successfully, but these errors were encountered: