Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add --coverage-target-only, to use rustflags only for target #167

Merged
merged 1 commit into from
May 21, 2022

Commits on May 20, 2022

  1. fix: add --coverage-target-only, to use rustflags only for target

    Use `CARGO_TARGET_{target}_RUSTFLAGS` rather than `RUSTFLAGS`,
    if `--target <TRIPLE>` and `--coverage-target-only` is specified.
    
    This is important, if the project uses multiple targets via the cargo
    `bindeps` feature, and not all targets can use `instrument-coverage`,
    e.g. a microkernel, or an embedded binary.
    
    Signed-off-by: Harald Hoyer <harald@profian.com>
    haraldh committed May 20, 2022
    Configuration menu
    Copy the full SHA
    09a502a View commit details
    Browse the repository at this point in the history