Skip to content

[dotnet] Support interpreter-only mode in the simulator #11421

@lambdageek

Description

@lambdageek

For .NET 6 hot reload to work, and for other scenarios, we need to be able to run apps using the interpreter on the simulator.

Currently calling the following code from AppDelegate.FinishedLaunching returns "JIT"

using System.Runtime.CompilerServices;

public string GetExecutionMode()
{
  if (!RuntimeFeature.IsDynamicCodeSupported)
    return "AOT";
  if (RutnimeFeature.IsDynamicCodeCompiled)
    return "JIT";
  return "Interpreter";
}

Metadata

Metadata

Assignees

Labels

dotnetAn issue or pull request related to .NET (6)dotnet-pri0.NET 6: required for stable release

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions