philss / rustler_precompiled

Use precompiled NIFs from trusted sources in your Elixir code
181 stars 27 forks source link

Configure available targets #9

Closed philss closed 2 years ago

philss commented 2 years ago

Some projects may not compile to some targets, or they want to provide more targets.

We should provide an option to configure the available targets.

Currently the list of targets is the following:

They are based in the list of targets supported by Rust: https://doc.rust-lang.org/rustc/platform-support.html

The idea is to provide one option - or maybe two - to be able to configure targets, respecting the list supported by Rust.

One potential issue is that some targets names may differ, or need a translation from the BEAM and Rust. We should address that in different PRs, as they occur.

philss commented 2 years ago

This was fixed by #17 and #19