diff options
-rw-r--r-- | scripts/rust/rustc_args.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rust/rustc_args.py b/scripts/rust/rustc_args.py index 5525b38..2633157 100644 --- a/scripts/rust/rustc_args.py +++ b/scripts/rust/rustc_args.py @@ -215,6 +215,8 @@ def main() -> None: if rustc_version >= (1, 80): if args.lints: + print("--check-cfg") + print("cfg(test)") for cfg in sorted(cargo_toml.check_cfg): print("--check-cfg") print(cfg) |