Skip to content

Commit 7e9a3cd

Browse files
Do not emit hundreds of lint warnings from script-servo
1 parent 8fd3de7 commit 7e9a3cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collector/src/rustc-fake.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ fn main() {
2525
}
2626

2727
args.push(std::ffi::OsString::from("-Adeprecated"));
28+
args.push(std::ffi::OsString::from("-Aunknown-lints"));
2829

2930
if let Some(pos) = args.iter().position(|arg| arg == "--wrap-rustc-with") {
3031
// Strip out the flag and its argument, and run rustc under the wrapper

0 commit comments

Comments
 (0)