mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-21 20:08:24 +00:00
* Stop deadlocks as they form and watch every lock for one that never lets go Co-Authored-By: Claude Opus 5.5 <[email protected]> * Give the stuck-lock banner's test a program of its own Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
11 lines
447 B
TOML
11 lines
447 B
TOML
allow-unwrap-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-panic-in-tests = true
|
|
allow-indexing-slicing-in-tests = true
|
|
|
|
# Locks must be able to notice a deadlock and get out of it; see crates/platform/src/sync.rs.
|
|
disallowed-types = [
|
|
{ path = "std::sync::Mutex", reason = "use craft_anything_platform::sync::Mutex, which can't hang" },
|
|
{ path = "std::sync::MutexGuard", reason = "use craft_anything_platform::sync::MutexGuard" },
|
|
]
|