We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 712420d commit dd88487Copy full SHA for dd88487
1 file changed
src/backend/linux_raw/c.rs
@@ -286,11 +286,11 @@ pub(crate) const SIGSYS: c_int = linux_raw_sys::general::SIGSYS as _;
286
))]
287
pub(crate) const SIGEMT: c_int = linux_raw_sys::general::SIGEMT as _;
288
289
-#[cfg(feature = "stdio")]
+#[cfg(any(test, feature = "stdio"))]
290
pub(crate) const STDIN_FILENO: c_int = linux_raw_sys::general::STDIN_FILENO as _;
291
292
pub(crate) const STDOUT_FILENO: c_int = linux_raw_sys::general::STDOUT_FILENO as _;
293
294
pub(crate) const STDERR_FILENO: c_int = linux_raw_sys::general::STDERR_FILENO as _;
295
296
pub(crate) const PIPE_BUF: usize = linux_raw_sys::general::PIPE_BUF as _;
0 commit comments