Remove System.Runtime.Intrinsics for .NET Core 2.1#27567
Conversation
- Remove System.Runtime.Intrinsics from Microsoft.NETCore.App. - Rename to System.Runtime.Intrinsics.Experimental - Create a standalone nupkg.
|
@tannergooding Please cc me on test changes to add ref. |
|
@eerhardt, good to merge? |
|
@sdmaclea, could you clarify your request? |
I'd like for this to get at least a cursory look from @ericstj or @weshaggard first to ensure the pkg stuff looks right. |
|
@tannergooding I am assuming the tests in coreclr will need to be updated to add a ref to the new external package. I also assume the ne wpackage must be uploaded to nuget before coreclr can reference it. So when you create the change in coreclr to pick this up, I'd like to be cc'd, so that I know it is ready. |
|
@sdmaclea - I'm not very familiar with coreclr's tests, but don't they just compile directly against |
|
@eerhardt The Arm64 coreclr tests did not compile w/o corefx HW Intrinsic ref dll. They are currently disabled in CoreCLR because API is not published. |
|
CoreCLR tests can be set up to compile against corelib directly, but it's not commonly done. So when this CoreFX change hits CoreCLR likely the test builds will need fixes. |
|
@AndyAyersMS If you have instructions/sample of a test building directly against corelib, it would be helpful as we add lots of HW Intrinsic APIs. (Eliiminates the circular dependency implement in coreclr, build ref in corefx, build tests in coreclr). The tests shouldn't probably check in that way, but it would make dev life simpler. |
|
I think the magic is to add: to the csproj. For example look at Interop\ICastable\Castable.csproj. Not sure if this causes other complications. |
|
Am I the only one who can't build anymore because of the renamed package? |
|
I'd suggest |
See https://github.com/dotnet/corefx/issues/27486 for more information.