Skip to content

Commit

Permalink
no args
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed Feb 28, 2024
1 parent 3304ebe commit 2403227
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions tests/sigabrt.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(lazy_cell)]

use std::ffi::{OsStr, OsString};
use std::ffi::OsStr;
use std::io::{self, Write};
use std::process::Command;
use std::{env, thread};
Expand All @@ -20,18 +20,6 @@ fn check(thread: usize) {
let deps_path = current_exe_path.parent().unwrap();
let profile_path = deps_path.parent().unwrap();

let mut args = Vec::new();
args.extend(
[
"--emit=metadata",
"-Aunused",
"-Ainternal_features",
"-Zui-testing",
"-Dwarnings",
]
.map(OsString::from),
);

let program = profile_path.join(if cfg!(windows) {
"clippy-driver.exe"
} else {
Expand All @@ -42,7 +30,6 @@ fn check(thread: usize) {
let entry = f.unwrap();
if entry.path().extension() == Some(OsStr::new("rs")) {
let mut c = Command::new(&program);
c.args(&args);
c.arg(entry.path());
c.arg(format!("--out-dir=target/ui-{thread}"));
let out = c.output().unwrap();
Expand Down

0 comments on commit 2403227

Please sign in to comment.