pa [0] = main_args;
/* Pass NULL as 'exc' so unhandled exceptions abort the runtime */
- mono_runtime_invoke (method, NULL, pa, NULL);
+ mono_runtime_invoke_checked (method, NULL, pa, &error);
+ mono_error_raise_exception (&error); /* FIXME don't raise here */
return 0;
}
}
#endif
+#ifdef DISABLE_HW_TRAPS
+ // Signal handlers not available
+ opt->explicit_null_checks = TRUE;
+#endif
+
if (!argv [i]) {
mini_usage ();
return 1;