remove unused macros

This commit is contained in:
dasha_uwu
2025-09-09 18:15:33 +05:00
committed by Jason Volk
parent b882e7efdb
commit 8f07a6c60f
3 changed files with 0 additions and 66 deletions

View File

@@ -36,18 +36,6 @@ pub(super) fn commit(_args: TokenStream) -> TokenStream {
ret.into()
}
pub(super) fn describe(_args: TokenStream) -> TokenStream {
static ARGS: &[&str] =
&["describe", "--dirty", "--tags", "--always", "--broken", "--abbrev=10"];
let output = git(ARGS);
let ret = quote! {
static GIT_DESCRIBE: &'static str = #output;
};
ret.into()
}
fn git(args: &[&str]) -> String {
Command::new("git")
.args(args)