about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmos Wenger <amoswenger@gmail.com>2022-07-22 14:23:36 +0200
committerAmos Wenger <amoswenger@gmail.com>2022-07-22 14:23:36 +0200
commite591ff32693b77ad3caf3e5b6d0301f55a6aa543 (patch)
treeebd7828651d8a3f7145677e2f4654a306840d8c3
parent39db9cdb7dc7310b6488c0c904ecae71765649cd (diff)
Add comment about replacing crossbeam with std scoped threads when they land
-rw-r--r--crates/proc-macro-srv/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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(|_| {