CONFIG_RUST_KUNIT_TESTS Rust KUnit tests
This menu collects all options for Rust KUnit tests. See Documentation/rust/testing.rst for how to protect unit tests with these options.
Say Y here to enable Rust KUnit tests.
If unsure, say N.
If RUST_KUNIT_TESTS
CONFIG_RUST_ALLOCATOR_KUNIT_TEST KUnit tests for Rust allocator API
This option enables KUnit tests for the Rust allocator API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_KVEC_KUNIT_TEST KUnit tests for Rust KVec API
This option enables KUnit tests for the Rust KVec API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_BITMAP_KUNIT_TEST KUnit tests for Rust bitmap API
This option enables KUnit tests for the Rust bitmap API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_KUNIT_SELFTEST KUnit selftests for Rust
This option enables KUnit selftests. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_STR_KUNIT_TEST KUnit tests for Rust strings API
This option enables KUnit tests for the Rust strings API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_ATOMICS_KUNIT_TEST KUnit tests for Rust atomics API
This option enables KUnit tests for the Rust atomics API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_BITFIELD_KUNIT_TEST KUnit tests for the Rust `bitfield!` macro
This option enables KUnit tests for the Rust `bitfield!` macro. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
CONFIG_RUST_BUG_KUNIT_TEST KUnit tests for the Rust BUG/WARN functionality
This option enables KUnit tests for the Rust BUG/WARN functionality. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.
- Depends on
RUST_KUNIT_TESTS && BUG
CONFIG_RUST_TIME_KUNIT_TEST KUnit tests for the Rust time API
This option enables KUnit tests for the Rust time API. These are only for development and testing, not for regular kernel use cases.
If unsure, say N.