x86_64-wrs-vxworks still can't build std after #159991: sys/fd/unix.rs:32,406
import libc::pread/pwrite, which the target doesn't have, so -Zbuild-std
stops with two error[E0432]. libc dropped its polyfills in rust-lang/libc#5129
(0.2.187) and won't bring them back — rust-lang/libc#5328: "These are just stub
so I'd keep them removed. Like killpg, fixing std by returning unsupported
would be better."
They're only reached from FileExt::read_at/read_buf_at/write_at, and
lseek + read isn't a substitute since it isn't atomic. So: branch them
per-target — as read_vectored does for espidf/horizon/vita/nuttx at
sys/fd/unix.rs:127 — and return ErrorKind::Unsupported on vxworks.
x86_64-wrs-vxworksstill can't build std after #159991:sys/fd/unix.rs:32,406import
libc::pread/pwrite, which the target doesn't have, so-Zbuild-stdstops with two
error[E0432]. libc dropped its polyfills in rust-lang/libc#5129(0.2.187) and won't bring them back — rust-lang/libc#5328: "These are just stub
so I'd keep them removed. Like
killpg, fixing std by returning unsupportedwould be better."
They're only reached from
FileExt::read_at/read_buf_at/write_at, andlseek+readisn't a substitute since it isn't atomic. So: branch themper-target — as
read_vectoreddoes for espidf/horizon/vita/nuttx atsys/fd/unix.rs:127— and returnErrorKind::Unsupportedon vxworks.