Add comment about replacing crossbeam with std scoped threads when they land
This commit is contained in:
parent
39db9cdb7d
commit
e591ff3269
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ impl ProcMacroSrv {
|
||||||
|
|
||||||
let macro_body = task.macro_body.to_subtree();
|
let macro_body = task.macro_body.to_subtree();
|
||||||
let attributes = task.attributes.map(|it| it.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 result = crossbeam::scope(|s| {
|
||||||
let res = s
|
let res = s
|
||||||
.spawn(|_| {
|
.spawn(|_| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue