summaryrefslogtreecommitdiff
path: root/cli/swc_util.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-10 00:29:12 +0800
committerGitHub <noreply@github.com>2020-06-09 18:29:12 +0200
commit1e0808d501cf9adea65e7cacd123ea4fea06a13a (patch)
tree5322e873b5d1f7be7c39f7e8f637c333c51a38e3 /cli/swc_util.rs
parent314f666897e63ab9f982726724a7e4af1ca798a8 (diff)
fix: Deno.readSync on stdin (#6126)
Currently sync operations on stdin are failing because tokio::Stdin cannot be converted to a std::File. This commit replaces tokio::stdin with a raw file descriptor wrapped in a std::fs::File which can be converted to a tokio::File and back again making the synchronous version of op_read actually work.
Diffstat (limited to 'cli/swc_util.rs')
0 files changed, 0 insertions, 0 deletions