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 e8c82126..9fa43dc4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,6 +51,7 @@ members = [ # 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"