]> git.lizzy.rs Git - rust.git/commit
Honor the rustfmt setting in config.toml
authorJake Goulding <jake.goulding@gmail.com>
Sat, 7 Nov 2020 18:26:42 +0000 (13:26 -0500)
committerJake Goulding <jake.goulding@gmail.com>
Sat, 7 Nov 2020 18:36:42 +0000 (13:36 -0500)
commit8cae2f167c0c332c5d04006afdd56d7a40c4dccb
treea2cdca6e8b4a7c712876086294b41f8e2bf52fe4
parent0256d065d4901b63def6c04013da4f781d0752bb
Honor the rustfmt setting in config.toml

Prior to this, setting the rustfmt configuration was ignored:

```
% mkdir example

% cd example

% ../configure --set build.rustfmt=/usr/bin/true

% ../x.py fmt
./x.py fmt is not supported on this channel
failed to run: /Users/shep/Projects/rust/example/build/bootstrap/debug/bootstrap fmt
Build completed unsuccessfully in 0:00:01
```

And after:

```
% ../x.py fmt
Build completed successfully in 0:00:11
```
src/bootstrap/config.rs