summaryrefslogtreecommitdiff
path: root/cli/util/v8.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-05-08 22:45:06 -0400
committerGitHub <noreply@github.com>2024-05-08 22:45:06 -0400
commit47f7bed677a6b72e873712de8f3988ea891710e4 (patch)
tree096549459b479cf1383e65c87b77e9f9482df258 /cli/util/v8.rs
parente6dc4dfbff25e77d2127591802229b4a74037d24 (diff)
chore: enable clippy::print_stdout and clippy::print_stderr (#23732)
1. Generally we should prefer to use the `log` crate. 2. I very often accidentally commit `eprintln`s. When we should use `println` or `eprintln`, it's not too bad to be a bit more verbose and ignore the lint rule.
Diffstat (limited to 'cli/util/v8.rs')
-rw-r--r--cli/util/v8.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/util/v8.rs b/cli/util/v8.rs
index 63bc495d1..a8ab2c3d0 100644
--- a/cli/util/v8.rs
+++ b/cli/util/v8.rs
@@ -43,6 +43,8 @@ pub fn init_v8_flags(
.into_iter()
.skip(1)
.collect::<Vec<_>>();
+
+ #[allow(clippy::print_stderr)]
if !unrecognized_v8_flags.is_empty() {
for f in unrecognized_v8_flags {
eprintln!("error: V8 did not recognize flag '{f}'");