Skip to content

bindgen should use the RUSTFMT environment variable if it wasn't set with with_rustfmt #1601

@glandium

Description

@glandium

It seems absurd that every single build script that depends on bindgen and doesn't disable rustfmt has to handle getting the environment variable and use with_rustfmt on its own. The net result is that in Firefox, only stylo uses the RUSTFMT environment variable, and baldrdash, coreaudio-sys and js all ignore it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions