Sign in
pigweed
/
third_party
/
github
/
bazelbuild
/
rules_rust
/
145ad7609f95fd45dc1304dcfcb7a43cea52de8f
/
.
/
test
/
unit
/
stamp
/
stamp_main.rs
blob: 0e8b96369b71e4723e034eaf1f53a91bd015bf3c [
file
]
#[
cfg
(
feature
=
"force_stamp"
)]
use
force_stamp
::
build_timestamp
;
#[
cfg
(
feature
=
"skip_stamp"
)]
use
skip_stamp
::
build_timestamp
;
fn
main
()
{
println
!(
"bin stamp: {}"
,
env
!(
"BUILD_TIMESTAMP"
));
println
!(
"lib stamp: {}"
,
build_timestamp
());
}