Skip to content

Commit 00644c1

Browse files
authored
add a comment
1 parent a963103 commit 00644c1

File tree

1 file changed

+2
-0
lines changed
  • src/tools/miri/test-cargo-miri/test-local-crate-detection/src

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
fn main() {
2+
// Make sure we detect all crates from this workspace as "local".
3+
// The env var is set during the "build" so we can use `env!` to access it directly.
24
println!("{}", env!("MIRI_LOCAL_CRATES"));
35
}

0 commit comments

Comments
 (0)