Manually merging driver.c from https://github.com/mono/mono/pull/20159 (#40031)
authorThays Grazia <thaystg@gmail.com>
Tue, 28 Jul 2020 21:38:41 +0000 (18:38 -0300)
committerGitHub <noreply@github.com>
Tue, 28 Jul 2020 21:38:41 +0000 (16:38 -0500)
src/mono/wasm/runtime/driver.c

index 32383d7..e98b1b8 100644 (file)
@@ -372,7 +372,7 @@ mono_wasm_load_runtime (const char *unused, int enable_debugging)
        mono_jit_set_aot_mode (MONO_AOT_MODE_LLVMONLY);
 #endif
 #else
-       mono_jit_set_aot_mode (MONO_AOT_MODE_INTERP_LLVMONLY);
+       mono_jit_set_aot_mode (MONO_AOT_MODE_INTERP_ONLY);
        if (enable_debugging) {
                // Disable optimizations which interfere with debugging
                interp_opts = "-all";