philss / rustler_precompiled

Use precompiled NIFs from trusted sources in your Elixir code
182 stars 26 forks source link

Document the usage of `TARGET_` env vars #10

Closed philss closed 1 year ago

philss commented 2 years ago

We use some env vars to configure the target OS, architecture and ABI. This is needed to support Nerves, as they set those env vars in the build/compilation process.

We need to document this usage, since more systems can benefit from that.

Here are the docs from Nerves: https://hexdocs.pm/nerves/compiling-non-beam-code.html#target-cpu-arch-os-and-abi