mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-05 20:47:45 +01:00
292d5af06e
* Stop deadlocks as they form and watch every lock for one that never lets go Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give the stuck-lock banner's test a program of its own Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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" },
|
|
]
|