This commit is contained in:
vms 2021-04-08 13:36:45 +03:00
parent 1a5e28957d
commit 22c493b8fd

View File

@ -28,11 +28,10 @@
use proc_macro::TokenStream;
#[proc_macro]
pub fn build_timestamp(_: TokenStream) -> TokenStream {
let current_utc_date = chrono::Utc::now();
let current_utc_date = current_utc_date.to_rfc3339();
let current_utc_date = current_utc_date.to_rfc3339();
let glue_code = quote::quote! { const __FCE_SDK_BUILD_TIME: &str = #current_utc_date; };
glue_code.into()