could you add suport for different architecture
like x86 x64 arm....
@helloyan srly should work on any architecture erlang supports. I've used it on amd64, arm64 and arm. In the past, I've tested on mips32 and x86.
Are you running into any problems?
how can i set the param in rebar.config to compile it to arm64
@helloyan I guess you are cross-compiling to arm64 from another architecture like amd64.
The simplest and recommended way is to build directly on the target platform.
If you work with Elixir, nerves will install the cross-compiler and generate native and target libraries.
Otherwise you'll have to set up the cross-compiler and target libs then set the compiler flags to point to them.
If you want to go that route, consider using buildroot.