Skip to content

Commit 1b49d0d

Browse files
committed
Update rtic-macros/src/codegen/shared_resources.rs
1 parent 1a8418e commit 1b49d0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rtic-macros/src/codegen/shared_resources.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub fn codegen(app: &App, analysis: &Analysis) -> TokenStream2 {
6868
// Opt out from `Send`.
6969
// `#shared_name` is trivially `Sync` because there are no `&self` methods.
7070
// See https://doc.rust-lang.org/std/sync/struct.Exclusive.html .
71+
#(#cfgs)*
7172
unsafe impl<'a> Sync for #shared_name<'a> {}
7273

7374
#(#cfgs)*

0 commit comments

Comments
 (0)