Files
codewhale/crates
huqiantao 27ca87251e fix: use Box<dyn Write + Send> for cross-platform tracing writer
Replace platform-specific std::os::unix::io::FromRawFd with
Box<dyn std::io::Write + Send> return type. This compiles on
Windows, macOS, and Linux without unsafe code.

The closure now returns a boxed writer that is either:
- The cloned file handle (success case)
- A reopened file handle (clone failed)
- stderr (last resort, prevents panic)
2026-06-07 19:35:59 +08:00
..
2026-06-03 02:39:45 -07:00