Print compiled target in test binary

This commit is contained in:
Dandaedre 2026-09-17 01:10:48 +02:00
parent 41224f4303
commit 6dc28828cc
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
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
);
}