Skip to content

implement "target" features #63

@Gankra

Description

@Gankra
  • able to specify that an audit is only valid for a target(s)
  • able to specify that a policy only applies to a target(s) (package has no reqs for targets that aren't included)

Targets are based on cfg syntax and include:

  • any (or)
  • all (and)
  • not
  • platform "atoms" like target_arch, target_os
  • feature "atoms" like my_crate_feature
  • target "families" like "unix" and "wasm" which overlap with platform atoms
  • target triples like x86_64-gnu-unknown-linux which overlap with platform atoms

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2do soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions