Skip to content

Conversation

@kotlarmilos
Copy link
Member

Description

This PR adds ReadyToRun support for CoreCLR. The changes from dotnet/runtime#121824 must be included in the VMR for this to work.

Changes

  • Introduce ReadyToRun configuration in Xamarin.Shared.Sdk.props
  • Update bundler environment variables in Xamarin.Shared.Sdk.targets to support ReadyToRun
  • Add host_runtime_contract.h to the build process in Makefile
  • Update coreclr-bridge.m and runtime.m for R2R image handling and logging
  • Update runtime.h to reflect changes in the xamarin_pinvoke_override function signature
  • Enable CoreCLR tests run R2R

- Introduced ReadyToRun configuration in Xamarin.Shared.Sdk.props.
- Updated bundler environment variables in Xamarin.Shared.Sdk.targets to support ReadyToRun.
- Added host_runtime_contract.h to the build process in Makefile.
- Updated coreclr-bridge.m and runtime.m for R2R image handling and logging.
- Updated runtime.h to reflect changes in the xamarin_pinvoke_override function signature.
@kotlarmilos kotlarmilos marked this pull request as draft November 26, 2025 10:28
@kotlarmilos kotlarmilos self-assigned this Nov 26, 2025
@kotlarmilos kotlarmilos changed the title Add ReadyToRun support for CoreCLR [net11.0] Add ReadyToRun support for CoreCLR Nov 26, 2025
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #693029b] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #693029b] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #693029b] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build #693029b] Tests on macOS X64 - Mac Sonoma (14) failed ❌

Failed tests are:

  • linksdk
  • linkall

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build #693029b] Tests on macOS M1 - Mac Monterey (12) failed ❌

Failed tests are:

  • linksdk
  • linkall

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build #693029b] Tests on macOS arm64 - Mac Sequoia (15) failed ❌

Failed tests are:

  • linksdk
  • linkall

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build #693029b] Tests on macOS M1 - Mac Ventura (13) failed ❌

Failed tests are:

  • linksdk
  • linkall

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build #693029b] Tests on macOS arm64 - Mac Tahoe (26) failed ❌

Failed tests are:

  • linksdk
  • linkall

Pipeline on Agent
Hash: 693029bc3f696f44e03822572ce8a25623ff3770 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants