-
Notifications
You must be signed in to change notification settings - Fork 127
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
Intrinsics code not linked out in Blazor sample #1615
Comments
This has been fixed in dotnet/runtime#43537. The fix didn't make 5.0 RTM. But in 6.0 it's there - I haven't validated by building against latest 6.0, but the code is missing from corelib in local build (so it won't be there when trimmed in an app). |
@vitek-karas I still see the intrinsics types in a linked System.Private.CoreLib.dll in dotnet/runtime using the wasm sample we have. Maybe it's being kept due to some other code path. It shouldn't need the 6.0 SDK right? |
the types only have the |
Hm looks like this is intentional: #1106 |
Only |
When creating a new Blazor sample (
dotnet new blazorwasm
) and publishing in release, the linked corelib appears to still have lots of entries inSystem.Runtime.Intrinsics.*
, which are kept around because of a call toSystem.Runtime.Intrinsics.Vector128
. This appears to be used inUtf8Utility.GetPointerToFirstInvalidByte
, but is guarded behind a call toAdvSimd.Arm64.IsSupported
and ought to be linked out.The text was updated successfully, but these errors were encountered: