about summary refs log tree commit diff
path: root/src/libstd/sys/wasm/stdio.rs
diff options
context:
space:
mode:
authorPaul Dicker <pitdicker@gmail.com>2019-02-23 12:11:10 +0100
committerPaul Dicker <pitdicker@gmail.com>2019-02-23 12:11:10 +0100
commit1a944b0d5bbc1b70423f6d710021bea5ba16f0b2 (patch)
tree0c5c07548bee7c44891587afd868831163e3dec4 /src/libstd/sys/wasm/stdio.rs
parent6464e32ea97fe0b18f75becc82cba9b19dfe453c (diff)
downloadrust-1a944b0d5bbc1b70423f6d710021bea5ba16f0b2.tar.gz
rust-1a944b0d5bbc1b70423f6d710021bea5ba16f0b2.zip
Remove pub(crate) from stderr_raw
Diffstat (limited to 'src/libstd/sys/wasm/stdio.rs')
-rw-r--r--src/libstd/sys/wasm/stdio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/stdio.rs b/src/libstd/sys/wasm/stdio.rs
index 657655004e9..d7540fd815c 100644
--- a/src/libstd/sys/wasm/stdio.rs
+++ b/src/libstd/sys/wasm/stdio.rs
@@ -59,7 +59,7 @@ pub fn is_ebadf(_err: &io::Error) -> bool {
 
 pub fn panic_output() -> Option<impl io::Write> {
     if cfg!(feature = "wasm_syscall") {
-        io::stderr_raw().ok()
+        Stderr::new().ok()
     } else {
         None
     }