mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
Merge pull request #3850 from vic1707/patch-1
Disable clippy error around generated main function
This commit is contained in:
commit
f663f3b675
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user