No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann c7019d25ad
Releasing fastforward version 0.12.1-1~ffwd13+u1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-07-20 10:23:27 +02:00
debian Releasing fastforward version 0.12.1-1~ffwd13+u1. 2026-07-20 10:23:27 +02:00
src Merging upstream version 0.12.1. 2026-07-20 10:22:33 +02:00
.cargo_vcs_info.json Merging upstream version 0.12.1. 2026-07-20 10:22:33 +02:00
Cargo.lock Merging upstream version 0.12.1. 2026-07-20 10:22:33 +02:00
Cargo.toml Merging upstream version 0.12.1. 2026-07-20 10:22:33 +02:00
Cargo.toml.orig Merging upstream version 0.12.1. 2026-07-20 10:22:33 +02:00
CODE_OF_CONDUCT.md Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
COPYRIGHT Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
LICENSE-APACHE Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
LICENSE-Apache-2.0_WITH_LLVM-exception Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
LICENSE-MIT Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
ORG_CODE_OF_CONDUCT.md Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00
README.md Adding upstream version 0.10.0. 2026-01-04 11:48:53 +01:00

linux-raw-sys

Generated bindings for Linux's userspace API

Github Actions CI Status zulip chat crates.io page docs.rs docs

This crate contains bindgen-generated bindings for Linux's userspace API.

This is primarily of interest if you want to make raw system calls directly, which is tedious and error prone and not necessary for most use cases. For a minimal type-safe, memory-safe, and I/O-safe API to the Linux system calls built on these bindings, see the rustix crate.

The full bindings are quite large, so they've been split up into modules and cargo features. By default, general and errno are enabled, which provide most things needed by general-purpose code.

To regenerate the generated bindings, run cargo update && cd gen && cargo run --release.

Similar crates

This is similar to linux-sys, except the bindings are generated offline, rather than in a build.rs, making downstream builds simpler. And, this crate has bindings for more headers, as well as supplementary definitions not exported by Linux's headers but nonetheless needed by userspace.

Minimum Supported Rust Version (MSRV)

This crate currently works on the version of [Rust on Debian stable], which is currently Rust 1.63. This policy may change in the future, in minor version releases, so users using a fixed version of Rust should pin to a specific version of this crate.