Is is possible to define a global constant, value of which is computed at the beginning of the runtime? Something like
static START_TIME: time::Timespec = time::get_time();
if it were possible. static and const declaration requires compile time value (calls in constants are limited to struct and enum constructors) and let can't be put outside function (error: expected item, found `let`).