We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449925b commit 0a58833Copy full SHA for 0a58833
test-cargo-miri/test-local-crate-detection/src/main.rs
@@ -1,3 +1,5 @@
1
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.
4
println!("{}", env!("MIRI_LOCAL_CRATES"));
5
}
0 commit comments