Skip to content

Commit

Permalink
[introspection] Skip verification of P/Invokes to the libhostpolicy l…
Browse files Browse the repository at this point in the history
…ibrary.

System.Private.CoreLib.dll contains P/Invokes to a libhostpolicy library,
which isn't shipped.

An isssue has been filed to fix this in the runtime: dotnet/runtime#38543
  • Loading branch information
rolfbjarne committed Jun 30, 2020
1 parent 9075929 commit 919edef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/introspection/ApiPInvokeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ protected void Check (Assembly a)
#endif
break;
#if NET
case "libhostpolicy":
// There's no libhostpolicy library.
// https://github.com/dotnet/runtime/issues/38543
continue;
case "libSystem.Native":
path += ".dylib";
break;
Expand Down

0 comments on commit 919edef

Please sign in to comment.