Skip to content

-Zcoverage is unimplemented #1494

Open
Open
@weiznich

Description

@weiznich

I've tried to use the cranlift rust backend for a project that records code coverage for tests. For this I run the following command:

RUSTFLAGS="-Zcodegen-backend=cranelift" cargo +nightly llvm-cov test -j 1

which resulted in the following error:

   Compiling proc-macro2 v1.0.78
error: -Zcoverage is unimplemented

stmt Coverage::CounterIncrement(0)
fn main() -> () {
    let mut _0: ();
// … more MIR 

I expected that this would likely not work. I was just surprised that there is no issue for this yet, so I filled that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions