Skip to content

probe_target_info_kind can't use RUSTFLAGS that contain --print #4761

@kornelski

Description

@kornelski

https://users.rust-lang.org/t/print-native-static-libs/14102

RUSTFLAGS=--print=native-static-libs  cargo build

causes rustc to print extra text, which breaks parsing of its output.

I think filtering out --print* args in fn env_args() would fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions