Skip to content

SPC: Set PlatformType property to arm64 instead of AnyCPU for arm64 builds #84424

Closed
@akoeplinger

Description

@akoeplinger

We're setting AnyCPU as the PlatformTarget for corelib here (in all runtimes):

<PropertyGroup Condition="'$(Platform)' == 'arm64'">
<PlatformTarget>AnyCPU</PlatformTarget>

Roslyn gained support for setting arm64 as a platform in dotnet/roslyn@e65a6c5 about 5 years ago. I traced git history and it looks like the AnyCPU value for arm64 has been there from the beginning of coreclr being open-sourced 9 years ago so it was never updated.

I don't know exactly what the impact of changing this would be but thought I'd bring it up for discussion.

/cc @jkotas @vitek-karas

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions