Skip to content

Option to suppress unused variable warnings #6

Closed
@ghost

Description

I'm using built to get a few values, but even with the options tweaked to where I want them, I still get a lot of unused const warnings. (Especially when using Options{ env: true }...)

I'd appreciate it if there were an option to enable allow(unused_variables) without having to edit the file manually in build.rs.

I want to keep warnings enabled for my code, and most warnings for library code as well. But I'm well aware that I'm not using NUM_JOBS, I don't need to see that every time I build.

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