Skip to content

Get the correct library loading functions at runtime #894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

filmor
Copy link
Member

@filmor filmor commented Jun 25, 2019

What does this implement/fix? Explain your changes.

Moves the library loader to three separate classes that contain implementations for Darwin, Linux and Windows s.t. they can be initialized at runtime.

Does this close any currently open issues?

Nope, but it brings us further towards a single build.

@filmor filmor requested a review from lostmsu June 25, 2019 22:11
@lostmsu
Copy link
Member

lostmsu commented Jun 25, 2019

Done with a review pass.

@codecov-io
Copy link

codecov-io commented Jun 26, 2019

Codecov Report

Merging #894 into master will decrease coverage by 0.74%.
The diff coverage is 15.27%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #894      +/-   ##
=========================================
- Coverage   76.94%   76.2%   -0.75%     
=========================================
  Files          64      65       +1     
  Lines        5939    6006      +67     
  Branches      974     985      +11     
=========================================
+ Hits         4570    4577       +7     
- Misses       1042    1099      +57     
- Partials      327     330       +3
Flag Coverage Δ
#setup_linux 65.3% <ø> (ø) ⬆️
#setup_windows 75.44% <15.27%> (-0.74%) ⬇️
Impacted Files Coverage Δ
src/runtime/typemanager.cs 83.64% <0%> (ø) ⬆️
src/runtime/runtime.cs 86.95% <100%> (+0.03%) ⬆️
src/runtime/platform/LibraryLoader.cs 9.09% <9.09%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc7d8a4...537ee5f. Read the comment docs.

@lostmsu lostmsu merged commit 7595fda into pythonnet:master Jun 26, 2019
@filmor filmor deleted the drop-mono-linux-flag branch November 9, 2022 11:10
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.

4 participants