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
This is not possible right now, because TokenStream does not implement Send. Internally TokenStream uses an Rc instead of an Arc, but this should change once the compiler supports parallel compilation. rust-lang/rust#59667
It might be worth to take advantage of multiple cores, when this macro generates code.
One easy way would be to use
rayon
as a drop in replacement. Forfor
-loops one could use the synchronization primitives from the standard library.This should definitely be an optional feature.
The text was updated successfully, but these errors were encountered: