Skip to content

Commit 13ec7f3

Browse files
committed
test-cargo-miri: add proc-macro2 instead of anyhow
1 parent 969f4cc commit 13ec7f3

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

test-cargo-miri/Cargo.lock

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-cargo-miri/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ issue_rust_86261 = { path = "issue-rust-86261" }
2020

2121
[dev-dependencies]
2222
byteorder_2 = { package = "byteorder", version = "0.5" } # to test dev-dependencies behave as expected, with renaming
23-
# Not actually used, but exercises some unique code path (`--extern` .so file).
23+
## More dependencies that we don't actually use, but add just for extra test coverage.
24+
# Exercises some unique code path (`--extern` .so file).
2425
serde_derive = "1.0.185"
25-
# Not actually used, but uses a custom build probe so let's make sure that works.
26+
# These use custom build probes, let's make sure they don't explode.
2627
# (Ideally we'd check if the probe was successful, but that's not easily possible.)
27-
anyhow = "1.0"
28-
# Same as anyhow.
28+
# proc-macro2 is extra exciting because it is both a host-dependency and a target-dependency.
29+
proc-macro2 = "1.0"
2930
eyre = "0.6"
3031

3132
[build-dependencies]

0 commit comments

Comments
 (0)