mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 01:05:29 +00:00
14 lines
421 B
Rust
14 lines
421 B
Rust
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
//! Foreign function interface (FFI) types.
|
||
|
//!
|
||
|
//! This crate provides mapping from C primitive types to Rust ones.
|
||
|
//!
|
||
|
//! The Rust [`core`] crate provides [`core::ffi`], which maps integer types to the platform default
|
||
|
//! C ABI. The kernel does not use [`core::ffi`], so it can customise the mapping that deviates from
|
||
|
//! the platform default.
|
||
|
|
||
|
#![no_std]
|
||
|
|
||
|
pub use core::ffi::*;
|