actually, since it doesn't properly handle #[cfg(...)]
, the #[cfg(test)]
block will make queue
unusable outside of running fayalite
's tests, since the generated struct will still have the…
if you fix the grammar mistakes, i'll merge this and will fix the #[cfg(...)]
stuff later when i fix the #[hdl]
and #[hdl_module]
attribute macros.
ah, the #[hdl_module]
macro doesn't properly handle additional attributes on IO ports...i'll work on fixing that soon, probably today. basically it generates a #[hdl] struct
from the list of…
this should also be marked #[cfg(test)]
since it only needs to be there when running the tests.
here use a one-entry
-- the o
makes a w
sound so is treated as a consonant for a
vs. an
nice! there's some minor issues then I think it's ready to merge!