Internal compiler error while running llvm-tools-preview #83792
Labels
A-code-coverage
Area: Source-based code coverage (-Cinstrument-coverage)
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hey All,
I was trying to follow the instructions to run grcov, and things bottomed out on me.
The compiler suggested I open this issue so here I am!
It may be worth mentioning that I am in a Cargo Workspace, and I'm not using a Cargo.lock file.
The compiler error appears to go away when I remove
cargo-edit
as a dev dependency. Without it though, things seem to work just fine.Going back to my larger project and removing
cargo-edit
also fixed things there.Code
Cargo.toml
lib.rs
I ran the following:
rustup override set nightly
rustup component add llvm-tools-preview
export RUSTFLAGS="-Zinstrument-coverage"
cargo clean
cargo build
cargo test
Meta
Output of
rustc --version --verbose
:Error output
The failure message:
The text was updated successfully, but these errors were encountered: