Skip to content

Make the mono interpreter into a runtime component #54421

@lambdageek

Description

@lambdageek

Continuing our work on using a uniform mechanism to componentize the mono runtime, we should consider turning the interpreter into a runtime component.


Use case: iOS Device runtime pack should include libmono-ee-interp.a

In mono/mono, we built the interpreter for iOS devices as a separate static library that could be excluded from the build.

In dotnet/runtime we built the interpreter right into libmono.a for iOS device runtime packs. This leads to a size increase for the common case where published iOS apps use FullAOT and don't need the interpreter fallback.

We should use the CMake ENABLE_INTERP_LIB option for iOS device runtime packs. (We currently use it for wasm)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions