Merge pull request #3850 from vic1707/patch-1

Disable clippy error around generated main function
This commit is contained in:
Dario Nieuwenhuis 2025-02-04 23:55:39 +00:00 committed by GitHub
commit f663f3b675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,6 +161,7 @@ pub fn run(args: TokenStream, item: TokenStream, arch: &Arch) -> TokenStream {
let result = quote! {
#[::embassy_executor::task()]
#[allow(clippy::future_not_send)]
async fn __embassy_main(#fargs) #out {
#f_body
}