Skip to content

Conversation

muraj
Copy link
Contributor

@muraj muraj commented Oct 1, 2025

This change adds a Loader class that can be used to easily create a dynamic loader for a library and works across platforms.

@muraj muraj requested review from apryakhin and eddy16112 October 1, 2025 16:34
@muraj muraj self-assigned this Oct 1, 2025
@muraj muraj added the chore label Oct 1, 2025
Copy link

codecov bot commented Oct 1, 2025

Codecov Report

❌ Patch coverage is 72.22222% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.28%. Comparing base (b9df3d6) to head (ac854ce).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/realm/module.cc 0.00% 15 Missing ⚠️
src/realm/network.cc 0.00% 8 Missing ⚠️
src/realm/loader.cc 94.11% 1 Missing ⚠️
src/realm/loader.h 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #325      +/-   ##
==========================================
+ Coverage   27.15%   27.28%   +0.12%     
==========================================
  Files         190      193       +3     
  Lines       39174    39232      +58     
  Branches    14166    14288     +122     
==========================================
+ Hits        10638    10703      +65     
- Misses      27240    27820     +580     
+ Partials     1296      709     -587     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@muraj muraj force-pushed the cperry/loader branch 4 times, most recently from 1ea99d0 to beeb413 Compare October 1, 2025 19:06
@muraj muraj marked this pull request as ready for review October 1, 2025 19:27

#include "realm/gasnetex/gasnetex_internal.h"

#include "realm/runtime_impl.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we have a loader for UCX as well? I think the bootstrap loader?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'll add it.

@apryakhin
Copy link
Contributor

I am ready to approve. Overall that's looking good. I will do a few more passes though.

@muraj muraj force-pushed the cperry/loader branch 4 times, most recently from ee08f7b to 25b2842 Compare October 6, 2025 19:42
@muraj muraj requested a review from apryakhin October 7, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants