Skip to content

Unit tests under valgrind for a cargo project give hundreds of errors #16134

Closed
@apoelstra

Description

@apoelstra

Running

cargo new test-project
cd test-project
rustc --test src/lib.rs
valgrind ./lib

gives a few hundred errors. Running cargo test under valgrind is clean and trivial projects without cargo are also clean. I'm not sure who's to blame here.

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