8000 Finalize on feature flags vs rustc `--cfg` flags for default impl selection · Issue #113 · mrhooray/crc-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Finalize on feature flags vs rustc --cfg flags for default impl selection #113
Open
@akhilles

Description

@akhilles

Context: #92 (comment)

Some advantages of --cfg flags:

  • Don't have to be strictly additive
  • Can only be set when compiling a binary (hidden to libraries)
  • Can throw a compile error if incompatible flags are set
  • Can stop supporting them without breaking semver

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0