Skip to content

get_test_bin may be able to be undeprecated in an upcoming Cargo release #13

@epage

Description

@epage

rust-lang/cargo#16421 made the compile-time environment variables available at runtime. This has been approved but isn't technically stable until release as things can still be reverted. In assert_cmd, I added a fallback to support this in case this does get stabilized but I'm holding off on un-deprecating until it is stabilized, see https://docs.rs/assert_cmd/latest/src/assert_cmd/cargo.rs.html#220-251

Found from this crater run: rust-lang/rust#149852

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