Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/2412
@@ -146,6 +146,13 @@ aot_target_precheck_can_use_musttail(const AOTCompContext *comp_ctx)
*/
return false;
}
+ if (!strcmp(comp_ctx->target_arch, "mips")) {
+ /*
+ * cf.
+ * https://github.com/bytecodealliance/wasm-micro-runtime/issues/2412
+ */
+ return false;
+ }
/*
* x86-64/i386: true
*