Files
Anees Iqbal 5a4418c894 📝 Say that core is the Vulkan crate's module [ci skip]
reims-vgpu-core is folded into reims-vgpu-vulkan, so the docs, the
manifests' comments and the crate descriptions that named the crate name
its module now: the crate lists and graph, seven crates, core's files under
crates/reims-vgpu-vulkan/src/core, the testkit feature, and what the x86-64
leg runs. The design note that put the decoder in core says where it is,
reims-vgpu's graphics::decode, and the path of a deleted file goes. The
kache measurement keeps the crate's name, as it was measured then.
2026-11-08 01:55:07 -08:00

22 lines
1.2 KiB
TOML

# Architecture 17.4. The Vulkan crate's core module denies clippy::disallowed_types and
# clippy::disallowed_methods; other code sees them as warnings.
disallowed-types = [
{ path = "std::sync::Mutex", reason = "use sync::Mutex (parking_lot) (7.1)" },
{ path = "std::sync::RwLock", reason = "use parking_lot or sync::WriterPrefRwLock (7.1)" },
]
disallowed-methods = [
{ path = "std::process::abort", reason = "use raise::death::fatal (6.4)" },
{ path = "std::thread::spawn", reason = "core's threads come from the platform's Threads: rt::thread::spawn_named (7.1)" },
{ path = "std::time::Instant::now", reason = "use Clock (7.5)" },
{ path = "std::time::SystemTime::now", reason = "use Clock (7.5)" },
{ path = "std::panic::catch_unwind", reason = "allowed only in the testkit (capture, death, launcher), an isolated task's trap (tasks::isolation::life) (6.5), the graphics lane's refusal scope (raise::refusals), the pipeline resolver's callback inside Metal (spi::classes, 6.3) and the C API's catch on Linux (ffi::catch, 6.7)" },
]
# Tests may unwrap, index and panic: a failure is the assertion (architecture 17.4).
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-panic-in-tests = true
allow-indexing-slicing-in-tests = true