diff --git a/.clippy.toml b/.clippy.toml index d842e407..691a590e 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -8,8 +8,6 @@ disallowed-macros = [ { path = "std::dbg", reason = "it is okay to use during development, but please do not include it in main branch" }, ] disallowed-methods = [ - { path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, - { path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, ] disallowed-types = [ ] diff --git a/Cargo.toml b/Cargo.toml index fcfe09cc..b07a2b6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ members = ["tools/codegen"] # This table is shared by projects under github.com/taiki-e. # It is not intended for manual editing. [workspace.lints.rust] +deprecated_safe = "warn" improper_ctypes = "warn" improper_ctypes_definitions = "warn" non_ascii_idents = "warn"