Skip to content

Remove is_like_X flags from target specs #38732

Closed
@brson

Description

@brson

Today target specs have is_like_openbsd, is_like_osx, is_like_solaris, is_like_windows, is_like_android, is_like_msvc fields. These all seem to amount to querying target_os. They could instead be methods on target spec.

cc #36900 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-target-specsArea: Compile-target specificationsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions