Rather than forcing nitriding to build against the amd64 architecture, support arm64 builds by allowing the ARCH environment variable to override the build architecture.
Also, update the example to automatically choose the build architecture based on the architecture of the machine where the example is built and run.
Rather than forcing nitriding to build against the amd64 architecture, support arm64 builds by allowing the
ARCH
environment variable to override the build architecture.Also, update the example to automatically choose the build architecture based on the architecture of the machine where the example is built and run.