We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cc
CC_FORCE_DISABLE
1 parent 7de85cc commit 7499b63Copy full SHA for 7499b63
clippy.toml
@@ -1,5 +1,7 @@
1
disallowed-methods = [
2
{ path = "std::env::var_os", reason = "Please use Build::getenv" },
3
{ path = "std::env::var", reason = "Please use Build::getenv" },
4
+ { path = "std::process::Command::new", reason = "Please use crate::command_new()" },
5
+ { path = "cc::tool::Tool::to_command", reason = "Bypasses `is_disabled()` check. Use try_to_command() instead." },
6
]
7
doc-valid-idents = ["AppleClang", "OpenBSD", ".."]
0 commit comments