-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add NativeRuntimeEventSource metadata to NativeAot CoreLib #106641
Conversation
This is necessary to allow consumers to parse the payload. Delete unnecessary runtimeflavor argument of genRuntimeEventSources.py script. Fixes dotnet#105556
# Get the list of event nodes. | ||
eventNodes = eventsNode.getElementsByTagName("event") | ||
|
||
# Build the list of used keywords |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will omit OverrideAndSuppressNGenEvents
, StartEnumerationKeyword
and EndEnumerationKeyword
keywords in CoreCLR version as well since they are unused. I assume that it is fine to omit unused keywords from metadata.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be fine to omit, we just need the metadata to parse events so if they are never emitted than we don't need them
@@ -297,11 +297,6 @@ | |||
<ProjectReference Include="$(LibrariesProjectRoot)\System.Private.CoreLib\gen\System.Private.CoreLib.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> | |||
</ItemGroup> | |||
|
|||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not have any .tt files in CoreLib anymore
/azp run runtime-nativeaot-outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
/backport to release/9.0 |
Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10475918830 |
This is necessary to allow consumers to parse the payload.
Delete unnecessary runtimeflavor argument of genRuntimeEventSources.py script.
Fixes #105556