summaryrefslogtreecommitdiffstats
path: root/clippy.toml
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2021-10-21 23:35:08 +0200
committerGitHub <noreply@github.com>2021-10-21 17:35:08 -0400
commitd5a5ddf82612b1ce327b644634e095e9ff7669c7 (patch)
tree572fde2df010672105de9e628637eedcce0a0755 /clippy.toml
parenteb203ebe95aacecc8f479cf50eed433fbfdbdfc3 (diff)
chore: hide warnings for additional known advisories (#3170)
Diffstat (limited to 'clippy.toml')
-rw-r--r--clippy.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/clippy.toml b/clippy.toml
index 3054dd619..26551a251 100644
--- a/clippy.toml
+++ b/clippy.toml
@@ -1,2 +1,6 @@
-# std::process::Command::new may inadvertly run executables from the current working directory
-disallowed-methods = ["std::process::Command::new"]
+disallowed-methods = [
+ # std::process::Command::new may inadvertly run executables from the current working directory
+ "std::process::Command::new",
+ # Setting environment variables can cause issues with non-rust code
+ "std::env::set_var"
+]