Skip to content

Tracking Issue: Replace big cfg! chunks with shorter aliases #2188

@SteveLauC

Description

@SteveLauC

Background

With the crate cfg_aliases, we can replace common, chunky cfg!s with shorter aliases, here are the aliases defined by us:

  • apple_targets: any(ios, macos, watchos, tvos)
  • freebsdlike: any(freebsd, dragonfly)
  • bsd: any(freebsd, dragonfly, netbsd, openbsd, apple_targets)
  • linux_android: any(linux, android)
  • solarish: any(illumos, solaris)

#2205 has done most of the replacements, but there are still cfg!s that haven't been updated, we want to clear them all.

TODO

Scan our source code, and replace the long cfg! chunks with shorter aliases:

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