wasm-micro-runtime
wasm-micro-runtime copied to clipboard
AOT does not work on macpro(m1)
Load wasm module failed. error: AOT module load failed: invalid target type, expected arm64 but got aarch64v8
wasm-micro-runtime/core/iwasm/aot/arch/aot_reloc_aarch64.c
#if (defined(__APPLE__) || defined(__MACH__)) && defined(__arm64__)
#define BUILD_TARGET_AARCH64_DEFAULT "arm64"
#else
#define BUILD_TARGET_AARCH64_DEFAULT "aarch64v8"
#endif
You can take a look at https://github.com/bytecodealliance/wasm-micro-runtime/issues/3164