Skip to content

Conversation

@jkotas
Copy link
Member

@jkotas jkotas commented Aug 19, 2024

This is necessary to allow consumers to parse the payload.

Delete unnecessary runtimeflavor argument of genRuntimeEventSources.py script.

Fixes #105556

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
Copy link
Member Author

@jkotas jkotas Aug 19, 2024

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.

Copy link
Contributor

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

<ProjectReference Include="$(LibrariesProjectRoot)\System.Private.CoreLib\gen\System.Private.CoreLib.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>

<ItemGroup>
Copy link
Member Author

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

@jkotas
Copy link
Member Author

jkotas commented Aug 19, 2024

/azp run runtime-nativeaot-outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkotas jkotas merged commit 094649e into dotnet:main Aug 20, 2024
@jkotas jkotas deleted the issue-105556 branch August 20, 2024 15:52
@jkotas
Copy link
Member Author

jkotas commented Aug 20, 2024

/backport to release/9.0

@github-actions
Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10475918830

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EventListenerThreadPool test failing in nativeaot outerloop runs

2 participants