Skip to content

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 area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member labels 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