Skip to content

Commit

Permalink
Merge pull request embassy-rs#3850 from vic1707/patch-1
Browse files Browse the repository at this point in the history
Disable clippy error around generated main function
  • Loading branch information
Dirbaio authored Feb 4, 2025
2 parents a2014c9 + 26c6ab7 commit f663f3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embassy-executor-macros/src/macros/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f663f3b

Please sign in to comment.