diff options
| author | xFrednet <xFrednet@gmail.com> | 2024-04-01 17:05:55 +0200 |
|---|---|---|
| committer | xFrednet <xFrednet@gmail.com> | 2024-04-01 17:05:55 +0200 |
| commit | 24d20b4eae2646e79a7aba6a691ef39127431882 (patch) | |
| tree | 380c26753c7c03bed83786e02d53af83afb35d3c /clippy_dev/src | |
| parent | 17a61b261061365e9708478ccf95a8103dbc1944 (diff) | |
Set `RUSTC_ICE=0` in uitests and `cargo dev lint`
Diffstat (limited to 'clippy_dev/src')
| -rw-r--r-- | clippy_dev/src/lint.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clippy_dev/src/lint.rs b/clippy_dev/src/lint.rs index 906a9727810..f308f5dfdfd 100644 --- a/clippy_dev/src/lint.rs +++ b/clippy_dev/src/lint.rs @@ -20,6 +20,8 @@ pub fn run<'a>(path: &str, args: impl Iterator<Item = &'a String>) { .args(["--edition", "2021"]) .arg(path) .args(args) + // Prevent rustc from creating `rustc-ice-*` files the console output is enough. + .env("RUSTC_ICE", "0") .status(), ); } else { @@ -32,6 +34,8 @@ pub fn run<'a>(path: &str, args: impl Iterator<Item = &'a String>) { let status = Command::new(cargo_clippy_path()) .arg("clippy") .args(args) + // Prevent rustc from creating `rustc-ice-*` files the console output is enough. + .env("RUSTC_ICE", "0") .current_dir(path) .status(); |
