about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-19 08:26:11 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-19 16:53:00 -0800
commit765a4e9fe35014eed3c7f60f8c7030ecb537871b (patch)
tree94c665f6deba7ca162fbc9590180caddca18a9ca /src/rustllvm/PassWrapper.cpp
parentace204a74548947914d08a7feca694941106175d (diff)
downloadrust-765a4e9fe35014eed3c7f60f8c7030ecb537871b.tar.gz
rust-765a4e9fe35014eed3c7f60f8c7030ecb537871b.zip
Fix sending/try_recv on channels off the runtime
The fairness yield mistakenly called `Local::take()` which meant that it would
only work if a local task was available. In theory sending on a channel (or
calling try_recv) requires no runtime because it never blocks, so there's no
reason it shouldn't support such a use case.

Closes #12391
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions