Open
Description
Illegal use of hardware intrinsics does not throw catchable PlatformNotSupportedExceptions in NativeAOT. Instead, NativeAOT failfasts in this situation for performance (and security) reasons.
Tests that expect catchable PlatformNotSupportedExceptions to be thrown for invalid use of hardware intrinsics should be updated to account for this behavior:
ThrowsPlatformNotSupportedExceptionForIllegalInstruction
to PlatformDetection.cs- Condition tests that expect catchable PlatformNotSupportedException to be thrown for illegal instructions on this property
See #110250 for more context.
Metadata
Metadata
Assignees
Type
Projects
Status
No status