From e591ff32693b77ad3caf3e5b6d0301f55a6aa543 Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Fri, 22 Jul 2022 14:23:36 +0200 Subject: [PATCH] Add comment about replacing crossbeam with std scoped threads when they land --- crates/proc-macro-srv/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/proc-macro-srv/src/lib.rs b/crates/proc-macro-srv/src/lib.rs index 5b96b5c6929..4b1858b8ed8 100644 --- a/crates/proc-macro-srv/src/lib.rs +++ b/crates/proc-macro-srv/src/lib.rs @@ -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(|_| {