about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src
diff options
context:
space:
mode:
authorTaylor Yu <tlyu@mit.edu>2021-07-01 18:05:24 -0500
committerTaylor Yu <tlyu@mit.edu>2021-07-01 20:55:46 -0500
commitb3db5cd46c6941563ae8792cf61160c5793d397a (patch)
tree3eb037a57b911769cf6dd27cc1138c7d8c17fa0d /compiler/rustc_query_impl/src
parent868c702d0c9a471a28fb55f0148eb1e3e8b1dcc5 (diff)
downloadrust-b3db5cd46c6941563ae8792cf61160c5793d397a.tar.gz
rust-b3db5cd46c6941563ae8792cf61160c5793d397a.zip
add owned locked stdio handles
Add stderr_locked, stdin_locked, and stdout_locked free functions
to obtain owned locked stdio handles in a single step. Also add
into_lock methods to consume a stdio handle and return an owned
lock. These methods will make it easier to use locked stdio
handles without having to deal with lifetime problems or keeping
bindings to the unlocked handles around.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions