-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rust to use new system calls #665
Comments
Thanks for bringing these up! :) I'll coordinate a new
I am not sure how vsock is relevant for std, but confirming the stability and publishing would be a good thing anyway. Then we can expose them via vsock-rs. There might actually more things missing from std that are present in the kernel. I have been looking into that a bit, but did not do a thorough check yet. |
I didn't know the libc crate supported Hermit. The soon-to-be-current version of stdio for Hermit is merged with Unix stdio, but uses symbols from |
Yeah, that's the plan in the long run. I think that PR should not be blocked on using things from |
@mkroening Hey, friendly ping! Just a reminder about this, in case you were intending to make a |
Since the last release of hermit-abi, version 0.4.0, a few system calls have been added, including
mmap
andseek
. If a new version of hermit-abi were published to crates.io, then rust-lang/rust could take advantage of those features.Relevant new features:
(If Rust isn't using every feature introduced before 0.4.0, then there may be more.)
I'd be happy to fix the missing
seek
on the rust-lang/rust side. (Also, iftell
was added to Hermit, then I could add support in Rust in rust-lang/rust#137165 (Usetell
for<File as Seek>::stream_position
).)The text was updated successfully, but these errors were encountered: