rusterlium / rustler

Safe Rust bridge for creating Erlang NIF functions
https://docs.rs/crate/rustler
Apache License 2.0
4.24k stars 222 forks source link

NIF Discovery via linkme #620

Open filmor opened 1 month ago

filmor commented 1 month ago

This is an alternative approach to #613. The advantage is that the NIFs get collected into a static symbol RUSTLER_NIF that can be inspected without loading the NIF.

See #614

@hansihe @scrogson