From c4df4e065955ac20fd6b2d6a3e52be2f91848743 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 3 Mar 2021 02:21:24 -0500 Subject: actually conditionalize on the backend-std feature --- src/pty.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pty.rs') diff --git a/src/pty.rs b/src/pty.rs index 986b216..03a6217 100644 --- a/src/pty.rs +++ b/src/pty.rs @@ -2,10 +2,10 @@ use crate::error::*; use ::std::os::unix::io::IntoRawFd as _; -pub mod std; - #[cfg(any(feature = "backend-async-std", feature = "backend-smol"))] pub mod async_io; +#[cfg(feature = "backend-std")] +pub mod std; #[cfg(feature = "backend-tokio")] pub mod tokio; -- cgit v1.2.3-54-g00ecf