Function build_data::set_BUILD_DATE
source · pub fn set_BUILD_DATE()
Expand description
Sets the BUILD_DATE
env variable with the current date, 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: "2021-04-14Z"