Skip to content

Commit e591ff3

Browse files
Add comment about replacing crossbeam with std scoped threads when they land
1 parent 39db9cd commit e591ff3

File tree

1 file changed

+2
-0
lines changed
  • crates/proc-macro-srv/src

1 file changed

+2
-0
lines changed

crates/proc-macro-srv/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ impl ProcMacroSrv {
6363

6464
let macro_body = task.macro_body.to_subtree();
6565
let attributes = task.attributes.map(|it| it.to_subtree());
66+
// FIXME: replace this with std's scoped threads once they stabilize
67+
// (then remove dependency on crossbeam)
6668
let result = crossbeam::scope(|s| {
6769
let res = s
6870
.spawn(|_| {

0 commit comments

Comments
 (0)