From 86b8e597c027d13f0e73fd988f68e51270750eeb Mon Sep 17 00:00:00 2001 From: oech3 <79379754+oech3@users.noreply.github.com> Date: Sun, 25 Oct 2026 12:59:24 +0900 Subject: [PATCH] Don't build std*_was_closed for fuchsia --- src/uu/cat/src/cat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/cat/src/cat.rs b/src/uu/cat/src/cat.rs index 768cb169842..df34af74d8d 100644 --- a/src/uu/cat/src/cat.rs +++ b/src/uu/cat/src/cat.rs @@ -374,7 +374,7 @@ fn cat_path(path: &OsString, options: &OutputOptions, state: &mut OutputState) - InputType::StdIn => { // A closed stdin is reopened as /dev/null before `uumain` runs, so // reading it would succeed silently instead of failing with EBADF. - #[cfg(unix)] + #[cfg(all(unix, not(target_os = "fuchsia")))] if uucore::signals::stdin_was_closed() { return Err(io::Error::from(rustix::io::Errno::BADF).into()); }