Print compiled target in test binary

This commit is contained in:
Codex 2026-09-17 01:10:48 +02:00
parent 3520ef5b08
commit 4af3a95d27
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
fn main() {
println!("target_test_project {}", env!("CARGO_PKG_VERSION"));
println!(
"target_test_project {} built for {} on {}",
env!("CARGO_PKG_VERSION"),
std::env::consts::ARCH,
std::env::consts::OS
);
}