adoptoposs / mjml_nif

Elixir NIF bindings for the MJML Rust implementation (mrml)
https://hexdocs.pm/mjml
MIT License
122 stars 17 forks source link

Add Cross.toml in order to pass the NIF version to cross #65

Closed philss closed 2 years ago

philss commented 2 years ago

This is important because cross don't have access by default to the env vars of the system.

This is related to https://github.com/philss/rustler_precompiled/issues/23

PS: it's a good idea to release a new patch version with this fix, since people using targets that are compiled with Cross before OTP 24 (NIF versions 2.14 and 2.15) are affected.

philss commented 2 years ago

/cc @paulgoetze

paulgoetze commented 2 years ago

Thanks @philss! :purple_heart: