Lint: empty_loop lint on no_std
#3746
Labels
A-lint
Area: New lints
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
In embedded (or no_std) scenarios it is very common to use empty loops in diverging functions such as the
#[entry]
function or panic handlers. Yet when using clippy we always have to work around theempty_loop
lint. Is there a way to disable this lint forno_std
applications where it does actually make sense to have it?The text was updated successfully, but these errors were encountered: