Skip to content

Tracking Issue for warnings (config build.warnings) #14802 #15509

@mozartttt

Description

@mozartttt

Problem

Summary
Original issue: #8424, #14258
Implementation: #14388
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#warnings

Allows control over warnings via a new Cargo configuration option build.warnings.

Unresolved Issues

What operations should this apply to and is [build] the right home for this?

What non-rustc lints are in scope? See also #8424 (comment)
Including build script warnings? See #8424 (comment)
Future Extensions
CLI support
If or where we have individual lint level control (cargo clippy), these looking odd next to each other
See also #8424 (comment)
If we add a new level, config/cli to control it
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.

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version


Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions