mirror of
https://codeberg.org/smukx/Rust-for-Malware-Development
synced 2026-06-06 20:22:59 +00:00
28e7fac1d3
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
12 lines
299 B
Rust
12 lines
299 B
Rust
use chrono::prelude::*;
|
|
|
|
fn main() {
|
|
let now = Utc::now();
|
|
|
|
let build_date = now.format("%Y-%m-%d").to_string();
|
|
let build_time = now.format("%H:%M:%S").to_string();
|
|
|
|
println!("cargo:rustc-env=BUILD_DATE={}", build_date);
|
|
println!("cargo:rustc-env=BUILD_TIME={}", build_time);
|
|
}
|