about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-09 23:20:05 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-12 13:39:47 -0700
commit80f92f5c5fedadd131842977c0b9b21806f3902f (patch)
tree4775273a78be8b003119b31a57b6415c96f0eefa /src/rustllvm/ExecutionEngineWrapper.cpp
parent3316a0e6b2ad9352bab58e7c046ef3d212411d82 (diff)
downloadrust-80f92f5c5fedadd131842977c0b9b21806f3902f.tar.gz
rust-80f92f5c5fedadd131842977c0b9b21806f3902f.zip
std: Relax an assertion in oneshot selection
The assertion was erroneously ensuring that there was no data on the port when
the port had selection aborted on it. This assertion was written in error
because it's possible for data to be waiting on a port, even after it was
disconnected. When aborting selection, if we see that there's data on the port,
then we return true that data is available on the port.

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