Function build_data::set_BUILD_TIMESTAMP[][src]

pub fn set_BUILD_TIMESTAMP()

Sets the BUILD_TIMESTAMP env variable, with the current date & 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: "2021-04-14T03:25:07Z"