mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
fmt
This commit is contained in:
parent
1a5e28957d
commit
22c493b8fd
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user