You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to reexport pio, pio-proc from embassy-rp, so the user doesn't have to depend on them directly. It's nicer because it ensures the right version is used, so it avoids version mismatch errors of doom.
However, currently pio_asm! generates code that does ::pio::whatever. This doesn't work unless pio is in scope in the end user's crate. I'm not sure if this is fixable with proc macros though? With decl macros you'd use $crate, but that doesn't seem to exist for proc macros.
The text was updated successfully, but these errors were encountered:
Dirbaio
changed the title
support reexporting in pio_asm!
support reexporting pio_asm!Jan 15, 2025
I'd like to reexport
pio
,pio-proc
fromembassy-rp
, so the user doesn't have to depend on them directly. It's nicer because it ensures the right version is used, so it avoids version mismatch errors of doom.However, currently
pio_asm!
generates code that does::pio::whatever
. This doesn't work unlesspio
is in scope in the end user's crate. I'm not sure if this is fixable with proc macros though? With decl macros you'd use$crate
, but that doesn't seem to exist for proc macros.The text was updated successfully, but these errors were encountered: