Forbid assertions in release builds (assert!
, panic!
)
#7997
Labels
💣 crash
crash, deadlock/freeze, do-no-start
🧑💻 dev experience
developer experience (excluding CI)
🔨 testing
testing and benchmarks
I cannot think of any legitimate use case for release assertions for Rerun in non-test code. We never want the viewer to crash, nor the SDK.
The existing clippy machinery doesn't seem capable of differentiating between app code and test code, unfortunately.
Update: build scripts, compile-time code and other codegen shenanigans are another example where it's fine.
The text was updated successfully, but these errors were encountered: