Skip to content

Tracking Issue for cfg_version #15531

Open
@epage

Description

@epage

Summary

RFC: #2523
Original issue: N/A
Implementation:

Allow dependencies conditioned on the Rust version in a way that matches with #[cfg(version)]

[target.'cfg(not(version(1.70.0))`.dependencies]
is-terminal = "0.4.2"

See also

Unresolved Issues

No response

Future Extensions

No response

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-target-dependenciesArea: [target.'cfg(foo)'.dependencies]C-tracking-issueCategory: A tracking issue for something unstable.S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions