From 6d896742e6e092354b12959cc0f53be4134ba25b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Tue, 30 Aug 2022 17:30:22 +0200 Subject: [PATCH] Document use of SOURCE_BUILD_EPOCH --- src/feature/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/feature/build.rs b/src/feature/build.rs index 180d0a66..c0c02c33 100644 --- a/src/feature/build.rs +++ b/src/feature/build.rs @@ -40,6 +40,9 @@ use { /// * **NOTE** - The date/time instruction output is determined by the [`kind`](TimestampKind) field and can be any combination of the three. /// * **NOTE** - To keep processing other sections if an Error occurs in this one, set /// [`Build::skip_if_error`](Build::skip_if_error_mut()) to true. +/// * **NOTE** - If the +/// [`SOURCE_BUILD_EPOCH`](https://reproducible-builds.org/docs/source-date-epoch/) environment +/// variable is set, vergen will use the value of that variable in place of the current time. /// /// # Example ///