mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
dogfood fallout
This commit is contained in:
parent
b764b2a7aa
commit
dbde3b8e1c
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ pub fn main() {
|
|||
} else {
|
||||
option_env!("SYSROOT")
|
||||
.map(|s| s.to_owned())
|
||||
.or(Command::new("rustc")
|
||||
.or_else(|| Command::new("rustc")
|
||||
.arg("--print")
|
||||
.arg("sysroot")
|
||||
.output()
|
||||
|
|
Loading…
Reference in a new issue