diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-07 11:59:56 +0200 |
commit | db61f41030678c5756c844c8aa41a210c658769e (patch) | |
tree | 492bff626d37cbcdfb2a65ee2580a1cc60c13125 /src/util/version.rs | |
parent | 6f02c36a89d93b04944a3f0882b6f6b703d9c012 (diff) | |
download | garage-db61f41030678c5756c844c8aa41a210c658769e.tar.gz garage-db61f41030678c5756c844c8aa41a210c658769e.zip |
Move GIT_VERSION injection later in build chain to reduce build times
Diffstat (limited to 'src/util/version.rs')
-rw-r--r-- | src/util/version.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/version.rs b/src/util/version.rs deleted file mode 100644 index 8882d035..00000000 --- a/src/util/version.rs +++ /dev/null @@ -1,7 +0,0 @@ -pub fn garage() -> &'static str { - option_env!("GIT_VERSION").unwrap_or(git_version::git_version!( - prefix = "git:", - cargo_prefix = "cargo:", - fallback = "unknown" - )) -} |