Skip to content

Conversation

MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Jun 24, 2024

Fixes issue that was ran into at https://github.com/MichalStrehovsky/rt-sz/actions/runs/9611846921.

Cc @Sergio0694 @dotnet/ilc-contrib

Copy link
Contributor

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

</ItemGroup>

<ItemGroup>
<IlcArg Include="--export-unmanaged-entrypoints" />
Copy link
Member

Choose a reason for hiding this comment

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

Set IlcExportUnmanagedEntrypoints property to true instead of using the command line option directly?

It is what the other tests do:

<IlcExportUnmanagedEntrypoints>true</IlcExportUnmanagedEntrypoints>

Copy link
Member Author

Choose a reason for hiding this comment

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

The reason I did it this way is because we're not really testing the thing is exported, just making sure linker doesn't error out.

If I use the property and we rename or delete the property, the test silently stops testing this. If it stays command line argument, the test build will fail if we ever rename or delete it.

But I can change it if you think it's not a risk worth mitigating.

@MichalStrehovsky MichalStrehovsky merged commit 81441a1 into dotnet:main Jun 24, 2024
@MichalStrehovsky MichalStrehovsky deleted the nofoldentry branch June 24, 2024 12:59
@github-actions github-actions bot locked and limited conversation to collaborators Jul 25, 2024
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.

3 participants