Closed pothos closed 3 months ago
Thanks for the report! I've now filed #133 to fix it.
Thanks! With that I got a rebased version of your coreutils patch to compile :)
Edit: Using main
for Eyra and c-scape until there are new releases.
Edit2: Actually, the patch is not needed if you do cargo add eyra --rename=std
and set up RUSTFLAGS="-C link-arg=-nostartfiles -C target-feature=+crt-static -C relocation-model=static"
(Last two args to get a static binary).
This is now released in c-scape 0.16.0 and eyra 0.16.11.
Thanks a lot, I've finally switched https://github.com/pothos/rust-userland to use Eyra
Cool!
I run into mismatches types because
c-scape:src/fs/xattr.rs
hasREAD_BUFFER
as[u8]
and passes it torustix::fs::listxattr
which expects[i8]
(actuallyc::c_char
). That happens with rustix 0.38.34 and Eyra from main. Using thenightly-2024-04-21
from the Eyra toolchain didn't help. Other functions such asfgetxattr
in rustix expect u8 and if rustix is right if might make sense to add a second READ_BUFFER definition in c-scape that usesi8
, or?