mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 09:40:23 -04:00
fca7c27946
We've had recurring issues with `println` calls sneaking in where `log` crate macros would be more appropriate. This commit adds a Clippy warning for uses of the global I/O macros, i.e. `print`, `println`, `eprint`, `eprintln` and `dbg`. The lint is disabled by a more-specific `clippy.toml` in the `cli` and `sqltest` crates, as well as using `allow` attributes in `standalone`'s `subscommands` module. Additionally, this commit converts a handful of prints in `core/utils` to `log::info`.
4 lines
117 B
TOML
4 lines
117 B
TOML
# Overwrite the root's disallowed-macros,
|
|
# as the CLI is allowed to use println and friends.
|
|
disallowed-macros = []
|