Closed filmor closed 4 months ago
@josevalim The issue is actually the missing env
parameter on the destructor. If it's okay with everyone here, I'd keep this PR open until this is fixed upstream in Rustler.
No issues with keeping it open!
This not only implements the function in pure Rust (thus making explorer pure Rust again), it also makes use of other niceties to trim down lib.rs
quite massively. If you would like to limit the impact of this PR to the destructor addition, let me know.
This not only implements the function in pure Rust (thus making explorer pure Rust again), it also makes use of other niceties to trim down
lib.rs
quite massively. If you would like to limit the impact of this PR to the destructor addition, let me know.
Sorry this is off-topic but it looks really coool that we can just do rustler::init!("Elixir.Explorer.PolarsBackend.Native");
in rustler v0.34!
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:
LocalMessage
on_load
callback as these are now handled by Rustler implicitly