We're also deprecating `mono_jit_set_aot_only` which is a strictly on-off API and of limited value in the face of the new AOT modes.
mono_aot_only = val;
}
+void
+mono_jit_set_aot_mode (MonoAotMode mode)
+{
+ mono_aot_mode = mode;
+}
+
/**
* mono_jit_set_trace_options:
* @options: string representing the trace options
MONO_API void
mono_set_crash_chaining (mono_bool chain_signals);
+/**
+ * This function is deprecated, use mono_jit_set_aot_mode instead.
+ */
MONO_API void
mono_jit_set_aot_only (mono_bool aot_only);
MONO_AOT_MODE_FULL
} MonoAotMode;
+MONO_API void
+mono_jit_set_aot_mode (MonoAotMode mode);
+
/* Allow embedders to decide wherther to actually obey breakpoint instructions
* in specific methods (works for both break IL instructions and Debugger.Break ()
* method calls).