mozilla / mozilla/grcov

cargo test failed in windows

Open
#956 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.4k
Forks
170
Avg merge
3d 10h
Merged PRs (30d)
4

Description

error: test failed, to rerun pass --lib

Caused by:
process didn't exit successfully: path.exe (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)

my config.toml

[build]
rustflags = "-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
# rustflags = "-Cinstrument-coverage"
incremental = false

[env]
LLVM_PROFILE_FILE = "test-%p-%m.profraw"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing cargo test on Windows with the provided config.toml and coverage-related rustflags. Check whether the reported STATUS_DLL_NOT_FOUND occurs consistently and identify which test process or dependency cannot start. Done means the tests run successfully with the intended configuration, or the missing DLL and required setup are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.