xous-core/services/net
tunnell cfcc12eee3 fix(net): write NetError code at byte 1 too, so std-side recv decodes correctly
Mirror the error code at byte 1 (in addition to byte 4) in
respond_with_error. The std-side Xous net backend's send path
reads byte 4 (correct vs. the historical [1,1,1,1,code,0,0,0]
layout), but the recv paths read byte 1 (which is always 1
under the old layout, so ErrorKind::TimedOut and WouldBlock
were unreachable from the recv side). With this change both
decoders see the right value; existing byte-4 readers are
unaffected; the "buf as u32-LE != 0" error marker still holds
because byte 0 stays 1.

Companion PR to rust-lang/rust will fix the std side to read
byte 4 and match the send path. This kernel-side mirror is the
shippable workaround until that lands and works with any
Rust-toolchain version.
2026-05-10 20:30:49 +02:00
..
locales Completes the i18n_helper.py tool 2022-10-27 16:07:05 -05:00
src fix(net): write NetError code at byte 1 too, so std-side recv decodes correctly 2026-05-10 20:30:49 +02:00
Cargo.toml bump utralib version for publication 2026-01-29 19:12:00 +08:00