Skip to content

Int128TestFieldLayout test failing on NativeAOT #74549

@MichalStrehovsky

Description

@MichalStrehovsky
Return code:      1
Raw output file:      C:\git\runtime\artifacts\tests\coreclr\windows.x64.Debug\Reports\Interop.PInvoke\Int128\Int128TestFieldLayout\Int128TestFieldLayout.output.txt
Raw output:
BEGIN EXECUTION
call C:\git\runtime\src\tests\Common\scripts\nativeaottest.cmd C:\git\runtime\artifacts\tests\coreclr\windows.x64.Debug\Interop\PInvoke\Int128\Int128TestFieldLayout\ Int128TestFieldLayout.dll 
Testing Int128
System.Runtime.InteropServices.MarshalDirectiveException: Method '[Int128TestFieldLayout]Int128Native.AddStructWithInt128_ByRef(StructWithInt128&,StructWithInt128&)' requires marshalling that is not yet supported by this compiler.
   at Int128Native.AddStructWithInt128_ByRef(StructWithInt128&, StructWithInt128&) + 0x41
   at Int128Native.TestInt128FieldLayout() + 0xd0
   at Int128NativeFieldLayout.Main(String[]) + 0x2f
Expected: 100
Actual: 0
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:

I think this got blocked out in #74123.

Cc @davidwrighton

Cc @dotnet/interop-contrib for a bar check. I honestly don't know how common this could be and whether this is 7.0. The blocking was 7.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions