./util/dev fmt fails for me. I think this is cause by 20b7351
I think this commit changed how rustfmt is called from rustfmt to $CARGO_HOME/bin/rustfmt which is not the same on my machine.
I'm on archlinux and I installed rustup through the package manager (not sure if that makes a difference). For me the rustfmt binary is not in ~/.cargo/bin/rustfmt but in /usr/bin/rustfmt and points to /usr/bin/rustup.
Running ./util/dev fmt --verbose outputs:
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/clippy_dev fmt --verbose`
cd /home/ms/Repos/rust-clippy/clippy_dev && /home/ms/.cargo/bin/rustfmt +nightly --version
error: No such file or directory (os error 2)
cargo is also not in ~/.cargo/bin for me but in /usr/bin/cargo which also points to /usr/bin/rustup.
./util/dev fmtfails for me. I think this is cause by 20b7351I think this commit changed how rustfmt is called from
rustfmtto$CARGO_HOME/bin/rustfmtwhich is not the same on my machine.I'm on archlinux and I installed rustup through the package manager (not sure if that makes a difference). For me the rustfmt binary is not in
~/.cargo/bin/rustfmtbut in/usr/bin/rustfmtand points to/usr/bin/rustup.Running
./util/dev fmt --verboseoutputs:cargois also not in~/.cargo/binfor me but in/usr/bin/cargowhich also points to/usr/bin/rustup.