Skip to content

cmd/internal/sys: BuildModeSupported reports c-shared is unsupported on windows/arm64 port, which supports cgo #46549

@dmitshur

Description

@dmitshur

At tip, sys.BuildModeSupported(runtime.Compiler, "c-shared", "windows", "arm64") reports false.

https://tip.golang.org/doc/go1.17#windows suggests the windows/arm64 port supports cgo, and discussion in CL 323970 CL 323992 points out that cgo support may imply that c-shared build mode should also be turned on, and possibly was missed. This issue is filed to ask and find out.

@rsc, do you know if sys.BuildModeSupported working as intended for Go 1.17 or does it need to be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions