From 5879ffcc948a4d085bfb7b2977f5a855a195bffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sat, 3 Sep 2022 10:20:23 +0200 Subject: [PATCH] make sccache pass through --check-cfg Fixes #1247 --- src/compiler/rust.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/rust.rs b/src/compiler/rust.rs index a498a397a..ed08f97c0 100644 --- a/src/compiler/rust.rs +++ b/src/compiler/rust.rs @@ -973,6 +973,7 @@ counted_array!(static ARGS: [ArgInfo; _] = [ take_arg!("--allow", OsString, CanBeSeparated('='), PassThrough), take_arg!("--cap-lints", OsString, CanBeSeparated('='), PassThrough), take_arg!("--cfg", OsString, CanBeSeparated('='), PassThrough), + take_arg!("--check-cfg", OsString, CanBeSeparated('='), PassThrough), take_arg!("--codegen", ArgCodegen, CanBeSeparated('='), CodeGen), take_arg!("--color", String, CanBeSeparated('='), Color), take_arg!("--crate-name", String, CanBeSeparated('='), CrateName),