Add comment about replacing crossbeam with std scoped threads when they land

This commit is contained in:
Amos Wenger 2022-07-22 14:23:36 +02:00
parent 39db9cdb7d
commit e591ff3269

View file

@ -63,6 +63,8 @@ impl ProcMacroSrv {
let macro_body = task.macro_body.to_subtree();
let attributes = task.attributes.map(|it| it.to_subtree());
// FIXME: replace this with std's scoped threads once they stabilize
// (then remove dependency on crossbeam)
let result = crossbeam::scope(|s| {
let res = s
.spawn(|_| {