Skip to content

Conversation

newpavlov
Copy link
Member

@newpavlov newpavlov commented Oct 16, 2024

This backend can be useful for libc-free applications and libraries. It's also used by default on *-unknown-linux-none targets.

Closes #401
Closes #424

@newpavlov newpavlov merged commit 9aab00c into master Oct 16, 2024
56 checks passed
@newpavlov newpavlov deleted the linux_rustix branch October 16, 2024 05:26
newpavlov added a commit that referenced this pull request Mar 3, 2025
This PR replaces the `linux_rustix` opt-in backend introduced in #520
with `linux_raw` opt-in backend based raw syscalls implemented using
`asm!`. It noticeably reduces dependency footprint of the crate (see
concerns raised in #433). Unfortunately, it means that we have to
implement the raw syscalls ourselves.

This PR implements `linux_raw` support only for target arches with
stable `asm!`. Nightly-only support for other targets can be added in
later PRs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support x86_64-unknown-linux-none Port from libc to rustix
1 participant