Skip to content

Commit

Permalink
Merge #49
Browse files Browse the repository at this point in the history
49: Do not load objects from incremental compile artifacts for trybuild r=taiki-e a=taiki-e

Fixes #48 

Co-authored-by: Taiki Endo <te316e89@gmail.com>
  • Loading branch information
bors[bot] and taiki-e committed Aug 7, 2021
2 parents f77c1cc + 4de9d02 commit debb4c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

## [Unreleased]

## [0.1.0-alpha.6] - 2021-08-07

- [Fix "Failed to load coverage" error when together used with trybuild.](https://github.com/taiki-e/cargo-llvm-cov/pull/49)

## [0.1.0-alpha.5] - 2021-08-07

- [Support Windows.](https://github.com/taiki-e/cargo-llvm-cov/pull/41)
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ fn object_files(cx: &Context) -> Result<Vec<OsString>> {
trybuild_target.push(target);
}
trybuild_target.push("debug");
fs::remove_dir_all(trybuild_target.join("incremental"))?;
if trybuild_target.is_dir() {
let mut trybuild_projects = vec![];
for entry in fs::read_dir(trybuild_dir)?.filter_map(Result::ok) {
Expand Down

0 comments on commit debb4c9

Please sign in to comment.