Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Use NativeLibrary.[Try]Load for netcoreapp3 #36944

Merged
merged 1 commit into from
Apr 17, 2019
Merged

Use NativeLibrary.[Try]Load for netcoreapp3 #36944

merged 1 commit into from
Apr 17, 2019

Conversation

am11
Copy link
Member

@am11 am11 commented Apr 17, 2019

Follow up on #35548
Contributes to: #24538

FreeBSD has dlopen in libc, instead of libdl. By switching to NativeLibrary load methods in .NET Core 3, we can abstract this disparity at call-sites.

@am11 am11 marked this pull request as ready for review April 17, 2019 01:27
@am11
Copy link
Member Author

am11 commented Apr 17, 2019

/cc @jkotas, @wfurt, @safern

(two unrelated HttpListener tests failed in Windows x64_Debug leg)

@jkotas
Copy link
Member

jkotas commented Apr 17, 2019

cc @swaroop-sridhar

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Looks good to me otherwise.

@jkotas jkotas merged commit fbc748b into dotnet:master Apr 17, 2019
@am11 am11 deleted the freebsd/nativelibrary-api-usage branch April 17, 2019 23:55
@karelz karelz added this to the 3.0 milestone May 4, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants