Skip to content

@prelude//os_lookup/targets:os_lookup incomplete #881

@itrTie

Description

@itrTie

In //decls:common.bzl, _target_os_type_arg returns //os_lookup/targets:os_lookup, which puts "linux" as the platform when not specifically Windows or macOS. The rule also accepts "freebsd" and "unknown". It looks like the cpu bit is incomplete as well, accepting arm, armv7, arm64, x86, x86_64, and mips but only having branches for arm64 and x86_64.

None technically isn't a value for TargetCpuType but is used as a branch here. Could the same be used for config//os:none?

Metadata

Metadata

Assignees

No one assigned

    Labels

    preludeRelated to integration/prelude

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions