Function build_data::set_BUILD_EPOCH_TIME
source · pub fn set_BUILD_EPOCH_TIME()
Expand description
Sets the BUILD_EPOCH_TIME
env variable, with the current time.
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: "1618370707"