mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
rust: configfs: introduce rust support for configfs
Add a Rust API for configfs, thus allowing Rust modules to use configfs for configuration. Make the implementation a shim on top of the C configfs implementation, allowing safe use of the C infrastructure from Rust. Link: https://lore.kernel.org/r/20250508-configfs-v8-1-8ebde6180edc@kernel.org Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
This commit is contained in:
1049
rust/kernel/configfs.rs
Normal file
1049
rust/kernel/configfs.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,8 @@ pub mod alloc;
|
||||
pub mod block;
|
||||
#[doc(hidden)]
|
||||
pub mod build_assert;
|
||||
#[cfg(CONFIG_CONFIGFS_FS)]
|
||||
pub mod configfs;
|
||||
pub mod cred;
|
||||
pub mod device;
|
||||
pub mod device_id;
|
||||
|
||||
Reference in New Issue
Block a user