I’m having problems with a compiled application in x86 and deploying it in arm arch. The thing is because Explorer lib but i don’t know how can I still dev in x86 and using arm for prod.
I used this as doc says
Explorer will download a precompiled version of its native code upon installation. You can force a local build by setting the environment variable EXPLORER_BUILD=1 and including :rustler as a dependency:
{:explorer, "~> 0.8.0", system_env: %{"EXPLORER_BUILD" => "1"}},
{:rustler, ">= 0.0.0"}
If necessary, clean up before rebuilding with mix deps.clean explorer.
but no success… other languages is just about setting an env var, Is there something similar?