Skip to content

[RuntimeAsync] R2R and Native AOT support #115098

@VSadov

Description

@VSadov

For R2R there are two parts here:

  • R2R for Async helpers.
    We explicitly make them BypassReadyToRun, since R2R typesystem does not support MethodImpl.Async. THis could be a relatively easy fix.
  • R2R for Async/Task variants of user-defined methods (those using user-provided IL).
    We exclude these in R2R. It is basically an NYI, that needs to be revisited, implemented, tested.
  • R2R for Async/Task thunks.
    It is unclear whether this is beneficial. Needs to be revisited.

For NAOT, all code will need to be generated

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions