diff --git a/compiler_base/makefile b/compiler_base/makefile index 1bb5b642c..3a111b224 100644 --- a/compiler_base/makefile +++ b/compiler_base/makefile @@ -28,12 +28,12 @@ test: # Unit tests with code cov (Requires rust 1.60+) codecov: rustup component add llvm-tools-preview - cargo install cargo-llvm-cov + cargo install cargo-llvm-cov@0.6.15 cargo llvm-cov --workspace --ignore-filename-regex gpyrpc.rs --html --open # Unit tests with code cov and output the lcov file (Requires rust 1.60+) codecov-lcov: rustup component add llvm-tools-preview - cargo install cargo-llvm-cov + cargo install cargo-llvm-cov@0.6.15 mkdir $(PWD)/.compiler_base cargo llvm-cov --lcov --output-path $(PWD)/.compiler_base/lcov.info --workspace --ignore-filename-regex gpyrpc.rs diff --git a/kclvm/makefile b/kclvm/makefile index 755a9df0c..7457831e8 100644 --- a/kclvm/makefile +++ b/kclvm/makefile @@ -66,13 +66,13 @@ test: # Unit tests with code cov (Requires rust 1.60+) codecov: rustup component add llvm-tools-preview - cargo install cargo-llvm-cov + cargo install cargo-llvm-cov@0.6.15 cargo llvm-cov --workspace --ignore-filename-regex gpyrpc.rs --html --open -- --nocapture # Unit tests with code cov and output the lcov file (Requires rust 1.60+) codecov-lcov: rustup component add llvm-tools-preview - cargo install cargo-llvm-cov + cargo install cargo-llvm-cov@0.6.15 rm -rf $(PWD)/.kclvm_cov mkdir $(PWD)/.kclvm_cov cargo llvm-cov --lcov --output-path $(PWD)/.kclvm_cov/lcov.info -r --workspace --ignore-filename-regex gpyrpc.rs -- --nocapture