diff --git a/macros/blueprint-proc-macro/src/sdk_main.rs b/macros/blueprint-proc-macro/src/sdk_main.rs index 5a573c7d..9214ce7f 100644 --- a/macros/blueprint-proc-macro/src/sdk_main.rs +++ b/macros/blueprint-proc-macro/src/sdk_main.rs @@ -26,9 +26,9 @@ pub(crate) struct SdkMainArgs { pub(crate) fn sdk_main_impl(args: &SdkMainArgs, input: &ItemFn) -> syn::Result { let tokio_args = if let Some(args) = &args.tokio_args { - quote! { ( #(#args),* ) } + quote! { ( crate = "::gadget_sdk::tokio", #(#args),* ) } } else { - quote! {} + quote! { ( crate = "::gadget_sdk::tokio" ) } }; let env_function_signature = if args.env {