Skip to content

Commit

Permalink
[target-spec-miette] pass in $CARGO_MANIFEST_DIR as required
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Dec 26, 2024
1 parent 81b247b commit 6324853
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions target-spec-miette/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.4.4] - 2024-12-25

Fixed path to fixtures.

## [0.4.3] - 2024-12-25

### Added
Expand Down Expand Up @@ -52,6 +56,7 @@ want to check in `Cargo.lock`.)

Initial release with support for miette 5.

[0.4.4]: https://github.com/guppy-rs/guppy/releases/tag/target-spec-miette-0.4.4
[0.4.3]: https://github.com/guppy-rs/guppy/releases/tag/target-spec-miette-0.4.3
[0.4.2]: https://github.com/guppy-rs/guppy/releases/tag/target-spec-miette-0.4.2
[0.4.1]: https://github.com/guppy-rs/guppy/releases/tag/target-spec-miette-0.4.1
Expand Down
4 changes: 2 additions & 2 deletions target-spec-miette/src/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
/// A set of invalid custom target JSON specifications.
pub static CUSTOM_INVALID: include_dir::Dir<'static> =
include_dir::include_dir!("target-spec-miette/tests/fixtures/custom-invalid");
include_dir::include_dir!("$CARGO_MANIFEST_DIR/tests/fixtures/custom-invalid");

/// A set of invalid `cfg` expressions.
pub static EXPR_INVALID: include_dir::Dir<'static> =
include_dir::include_dir!("target-spec-miette/tests/fixtures/expr-invalid");
include_dir::include_dir!("$CARGO_MANIFEST_DIR/tests/fixtures/expr-invalid");

0 comments on commit 6324853

Please sign in to comment.