Skip to content

Tracking Issue: Exposing RUSTFLAGS in cargo #12739

Open
@epage

Description

@epage

RUSTFLAGS is a low level mechanism

This is meant to track the RUSTFLAGS that should have a cargo-native way of being exposed. This won't always be one-to-one mappings and won't necessarily cover every rustc CLI feature.

Note: Keep in mind the cargo-native solution could live in:

  • Cargo.toml: if this is something considered static for the project
  • .cargo/config.toml (which includes env, cli): if this is something that changes between environments (including users and platforms) or is transient
  • CLI: if this is something that changes from run to run and needs the extra visibility

See also

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configurationArea: cargo config files and env varsA-manifestArea: Cargo.toml issuesA-rustflagsArea: rustflagsC-tracking-issueCategory: A tracking issue for something unstable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions