This commit is contained in:
Dongjia "toka" Zhang 2023-05-17 15:39:21 +02:00 committed by GitHub
parent 3fd5671909
commit 52557aefdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,8 +382,8 @@ impl CompilerWrapper for ClangWrapper {
} }
fn filter(&self, args: &mut Vec<String>) { fn filter(&self, args: &mut Vec<String>) {
let blacklist = ["-Werror=unused-command-line-argument"]; let blocklist = ["-Werror=unused-command-line-argument", "-Werror"];
for item in blacklist { for item in blocklist {
args.retain(|x| x.clone() != item); args.retain(|x| x.clone() != item);
} }
} }