Skip to content

Conversation

am11
Copy link
Member

@am11 am11 commented Apr 25, 2024

as IsOSPlatform(OSPlatform.Windows) is already used in a few places under illink dir.

@am11 am11 requested a review from marek-safar as a code owner April 25, 2024 13:49
@ghost ghost added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Apr 25, 2024
@dotnet-policy-service dotnet-policy-service bot added linkable-framework Issues associated with delivering a linker friendly framework community-contribution Indicates that the PR has been added by a community member labels Apr 25, 2024
@huoyaoyuan
Copy link
Member

Since NetCoreAppToolCurrent is recent, can OperatingSystem.IsXXX be used instead?

@am11
Copy link
Member Author

am11 commented Apr 25, 2024

Since NetCoreAppToolCurrent is recent, can OperatingSystem.IsXXX be used instead?

I saw linker and some of its tests are building for netstandard2 / NetFrameworkToolCurrent, so I used IsOSPlatform which is used in other places in linker code.

(btw: its codegen has improved since .NET 8 #83308)

@jkotas jkotas merged commit 7803a96 into dotnet:main Jun 4, 2024
@am11 am11 deleted the patch-31 branch June 14, 2024 04:38
@github-actions github-actions bot locked and limited conversation to collaborators Jul 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers community-contribution Indicates that the PR has been added by a community member linkable-framework Issues associated with delivering a linker friendly framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants