[libc-commits] [libc] [libc] provide binary compatibility with syscall symbol (PR #117229)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Nov 21 13:46:48 PST 2024
nickdesaulniers wrote:
IIUC, it looks like the rust std lib is expecting to use C FFI to do syscalls:
https://codebrowser.dev/rust/rust/library/std/src/sys/pal/unix/weak.rs.html#158
IIUC, it doesn't matter if our syscall is a macro, if the runtime of the higher level language expects syscall to be a symbol and can't use the C preprocessor (such as rust).
https://github.com/llvm/llvm-project/pull/117229
More information about the libc-commits
mailing list