mirror of
https://github.com/taiki-e/install-action.git
synced 2025-12-27 01:54:13 -05:00
Apply deprecated_safe lint
This commit is contained in:
@@ -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" },
|
{ path = "std::dbg", reason = "it is okay to use during development, but please do not include it in main branch" },
|
||||||
]
|
]
|
||||||
disallowed-methods = [
|
disallowed-methods = [
|
||||||
{ path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
|
|
||||||
{ path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
|
|
||||||
]
|
]
|
||||||
disallowed-types = [
|
disallowed-types = [
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ members = ["tools/codegen"]
|
|||||||
# This table is shared by projects under github.com/taiki-e.
|
# This table is shared by projects under github.com/taiki-e.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
[workspace.lints.rust]
|
[workspace.lints.rust]
|
||||||
|
deprecated_safe = "warn"
|
||||||
improper_ctypes = "warn"
|
improper_ctypes = "warn"
|
||||||
improper_ctypes_definitions = "warn"
|
improper_ctypes_definitions = "warn"
|
||||||
non_ascii_idents = "warn"
|
non_ascii_idents = "warn"
|
||||||
|
|||||||
Reference in New Issue
Block a user