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

Implement missing SymUnmanaged* interfaces #66650

Merged
merged 5 commits into from
Mar 17, 2022

Conversation

hez2010
Copy link
Contributor

@hez2010 hez2010 commented Mar 15, 2022

This PR implements missing RCW COMWrappers for SymUnmanaged* interfaces required by compiling BenchmarkDotNet with NativeAOT.

Fixes #66637

/cc: @agocke

@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Mar 15, 2022
Copy link
Member

@agocke agocke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@agocke
Copy link
Member

agocke commented Mar 17, 2022

@jkotas Anything else you wanted to look at?

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@agocke agocke merged commit 0319010 into dotnet:main Mar 17, 2022
@hez2010 hez2010 deleted the nativeaot/sym-interface branch March 19, 2022 16:34
radekdoulik pushed a commit to radekdoulik/runtime that referenced this pull request Mar 30, 2022
* Implement missing SymUnmanaged* interfaces

* Add try-finally around GCHandle

* Marshal interface argument to pinned pointer

* Minor fixes

* Address feedbacks from review
@ghost ghost locked as resolved and limited conversation to collaborators Apr 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use BenchmarkDotNet with NativeAOT
3 participants