Skip to content
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

DisabledRuntimeMarshalling_Disabled_NativeAssemblyDisabled failing with NativeAOT #84402

Open
MichalStrehovsky opened this issue Apr 6, 2023 · 1 comment

Comments

@MichalStrehovsky
Copy link
Member

We're hitting a RyuJIT assert at compile time because a NativeStructType instance size doesn't match the managed size.

We either shouldn't have NativeStructType instances in the system for anything with runtime marshalling disabled, or they need to take into account whether marshalling is disabled. Or we shouldn't have delegate marshallers in the first place (this is while doing a reverse p/invoke marshaller). It's all very confusing so I'm just filing a bug so I can disable building the test(s) against it.

Interop\DisabledRuntimeMarshalling\DisabledRuntimeMarshalling_Disabled_NativeAssemblyDisabled

@ghost
Copy link

ghost commented Apr 6, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

We're hitting a RyuJIT assert at compile time because a NativeStructType instance size doesn't match the managed size.

We either shouldn't have NativeStructType instances in the system for anything with runtime marshalling disabled, or they need to take into account whether marshalling is disabled. Or we shouldn't have delegate marshallers in the first place (this is while doing a reverse p/invoke marshaller). It's all very confusing so I'm just filing a bug so I can disable building the test(s) against it.

Interop\DisabledRuntimeMarshalling\DisabledRuntimeMarshalling_Disabled_NativeAssemblyDisabled

Author: MichalStrehovsky
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants