samples/rust/Kconfig

Source file repositories/reference/linux-study-clean/samples/rust/Kconfig

File Facts

System
Linux kernel
Corpus path
samples/rust/Kconfig
Extension
[no extension]
Size
4048 bytes
Lines
183
Domain
Support Tooling And Documentation
Bucket
samples
Inferred role
Support Tooling And Documentation: build/configuration rule
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0

menuconfig SAMPLES_RUST
	bool "Rust samples"
	depends on RUST
	help
	  You can build sample Rust kernel code here.

	  If unsure, say N.

if SAMPLES_RUST

config SAMPLE_RUST_CONFIGFS
	tristate "Configfs sample"
	depends on CONFIGFS_FS
	help
	  This option builds the Rust configfs sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_configfs.

	  If unsure, say N.

config SAMPLE_RUST_MINIMAL
	tristate "Minimal"
	help
	  This option builds the Rust minimal module sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_minimal.

	  If unsure, say N.

config SAMPLE_RUST_MISC_DEVICE
	tristate "Misc device"
	help
	  This option builds the Rust misc device.

	  To compile this as a module, choose M here:
	  the module will be called rust_misc_device.

	  If unsure, say N.

config SAMPLE_RUST_PRINT
	tristate "Printing macros"
	help
	  This option builds the Rust printing macros sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_print.

	  If unsure, say N.

config SAMPLE_RUST_DMA
	tristate "DMA Test Driver"
	depends on PCI
	help
	  This option builds the Rust DMA Test driver sample.

	  To compile this as a module, choose M here:
	  the module will be called rust_dma.

	  If unsure, say N.

config SAMPLE_RUST_DEBUGFS
	tristate "DebugFS Test Module"
	depends on DEBUG_FS
	help
	  This option builds the Rust DebugFS Test module sample.

Annotation

Implementation Notes