Skip to content

Conversation

@taiki-e
Copy link
Owner

@taiki-e taiki-e commented Aug 10, 2021

Fixes #32

The following patch is needed until dtolnay/trybuild#123 is merged:

[patch.crates-io]
trybuild = { git = "https://github.com/taiki-e/trybuild.git", branch = "target" }

Tested in the same way as #44 (comment)

@taiki-e
Copy link
Owner Author

taiki-e commented Aug 15, 2021

bors r+

bors bot added a commit that referenced this pull request Aug 15, 2021
54: Support trybuild (take 2) r=taiki-e a=taiki-e

Fixes #32

The following patch is needed until dtolnay/trybuild#123 is merged:

```toml
[patch.crates-io]
trybuild = { git = "https://github.com/taiki-e/trybuild.git", branch = "target" }
```

---

Tested in the same way as #44 (comment)

Co-authored-by: Taiki Endo <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 15, 2021

Build failed:

@taiki-e
Copy link
Owner Author

taiki-e commented Aug 15, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 15, 2021

Build succeeded:

@bors bors bot merged commit 36972a1 into main Aug 15, 2021
@bors bors bot deleted the trybuild branch August 15, 2021 09:23
@taiki-e taiki-e mentioned this pull request Aug 15, 2021
bors bot added a commit that referenced this pull request Aug 15, 2021
63: Release 0.1.0 r=taiki-e a=taiki-e

Closes #35 

Changes:

- [Update clap to fix build error.](#59)

- [Support latest version of trybuild.](#54)

- [Change output directory of `--html` and `--open` options from `target/llvm-cov` to `target/llvm-cov/html`.](#62)

- [You can now merge the coverages generated under different test conditions by using `--no-report` and `--no-run`.](#55)

  ```sh
  cargo clean
  cargo llvm-cov --no-report --features a
  cargo llvm-cov --no-report --features b
  cargo llvm-cov --no-run --lcov
  ```

- [Add environment variables to pass additional flags to llvm-cov/llvm-profdata.](#58)

  - `CARGO_LLVM_COV_FLAGS` to pass additional flags to llvm-cov. (value: space-separated list)
  - `CARGO_LLVM_PROFDATA_FLAGS` to pass additional flags to llvm-profdata. (value: space-separated list)

- [Fix "Failed to load coverage" error when together used with trybuild.](#49)

- [Fix bug in `--exclude` and `--package` options](#56)

- [Fix bug in color-detection when both `--text` and `--output-dir` used.](#62)

- [`--html` and `--open` options no longer outputs a summary at the same time.](#61)

- [Recognize rustflags and rustdocflags set by config file.](#52)

- Diagnostic improvements.

Co-authored-by: Taiki Endo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interoperability with trybuild

1 participant