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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user