mirror of
https://github.com/rust-lang/cargo
synced 2024-10-30 13:14:35 +00:00
8080b870bd
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
11 lines
620 B
TOML
11 lines
620 B
TOML
allow-print-in-tests = true
|
|
allow-dbg-in-tests = true
|
|
disallowed-methods = [
|
|
{ path = "std::env::var", reason = "use `Config::get_env` instead. See rust-lang/cargo#11588" },
|
|
{ path = "std::env::var_os", reason = "use `Config::get_env_os` instead. See rust-lang/cargo#11588" },
|
|
{ path = "std::env::vars", reason = "not recommended to use in Cargo. See rust-lang/cargo#11588" },
|
|
{ path = "std::env::vars_os", reason = "not recommended to use in Cargo. See rust-lang/cargo#11588" },
|
|
]
|
|
disallowed-types = [
|
|
{ path = "std::sync::atomic::AtomicU64", reason = "not portable. See rust-lang/cargo#12988" },
|
|
]
|