Function build_data::set_BUILD_TIME [−][src]
pub fn set_BUILD_TIME()
Sets the BUILD_TIME
env variable, with the current time, in UTC.
Call this from build.rs
.
Use env!
in your main.rs
to use the variable.
Calling this will make your build non-reproducible.
Example value: "03:25:07Z"