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
Since the cfg is evaluated after the methods macro.
I see two ways to get around that. One is allowing multiple methods macros (though I know this is hard). The other would be to support the cfg inside the macro.
The text was updated successfully, but these errors were encountered:
Hi!
Right now there is really no easy way in stable rust (without rust-lang/rust#82679), to make methods conditional on the OS.
You cant do:
Since the cfg is evaluated after the
methods
macro.I see two ways to get around that. One is allowing multiple
methods
macros (though I know this is hard). The other would be to support thecfg
inside the macro.The text was updated successfully, but these errors were encountered: