fix: daemon scheme_root/create_this_scheme_fd error conversion

Fix 4 E0277 errors in daemon/src/lib.rs where scheme_root()
and create_this_scheme_fd() return syscall::error::Error but
the function returns syscall::Error. Add .map_err() conversions.

redox-driver-sys errors (6 remaining E0308/E0061 in dma.rs/io.rs)
are pre-existing API mismatches between libredox and redox_syscall
crate versions — not addressed here.
This commit is contained in:
2026-05-30 08:00:29 +03:00
parent 37738dc418
commit ad85d9bf0c
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -40,6 +40,8 @@ if [ "$TARGET" != "$COOKBOOK_HOST_TARGET" ]; then
)
else
COOKBOOK_CONFIGURE_FLAGS=(--prefix=/usr)
# redoxer host sysroot may not define LONG_BIT via <limits.h>
export CFLAGS="${CFLAGS:-} -DLONG_BIT=64"
fi
if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then