Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The majority of system calls are going through the syscall crate, but system calls not yet supported by the syscall crate are being called with assembly directly. However going forward I plan on just updating the syscall crate so it supports newer system calls and make a pr into the syscall repo, instead of manually calling system calls with assembly.


I believe you’ll have to fork the crate, the owner of it no longer programs in Rust.

They may also be willing to hand it over to you, I don’t know.


Any reason you can't use libc::syscall?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: