Benedikt Reinartz
Benedikt Reinartz
These are really separate subjects. Check out https://github.com/rusterlium/rustler/pull/614, that's the avenue I'm currently exploring. The best option to make the signatures survive is probably to add another separate exported C...
One problem that we have that `serde` doesn't have to deal with is that NIF libraries are meant to be loaded within the context of the BEAM and thus need...
I'm sorry, but you can't simultaneously say that you aren't familiar with the details of NIF libraries and then claim you found a "simpler way". Of course I thought about...
Just writing down some notes: - We should also generate `-opaque`s for all resource types - Maybe we can build the type specs using NIF enums with some convention on...
On 1.: What this tries to achieve is to make `{ok, Bla}` and `{error, Blubb}` map to and from Rust `Result` types. I'll see whether there is a better way....
On the struct serde: I think registering using `inventory`, like what we do for resources and nifs already will do for the global "instance", but I'll need to give this...
There are some older tickets in the same direction. In summary, this was explicitly changed to handle overlapping interface implementations. I'll find the details and other issues tomorrow.
PRs are welcome. And the Wiki is open for changes anyway. If it is too wrong, we'll have to drop it.
- Which version of `rustler_mix` are you using? - What is the output of `MIX_DEBUG=1 mix compile` when this happens?