]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #78842 - shepmaster:bootstrap-rustfmt, r=Mark-Simulacrum
authorMara Bos <m-ou.se@m-ou.se>
Sun, 8 Nov 2020 12:36:25 +0000 (13:36 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Nov 2020 12:36:25 +0000 (13:36 +0100)
commitcb90042049e9d3e88c128d1e5e39fa09c82b993e
treee7bd128185f5967d06e23c76c08b3785e2016dd7
parent2489ff7123c6861e24f8f92e8a94c087ac3f4193
parent8cae2f167c0c332c5d04006afdd56d7a40c4dccb
Rollup merge of #78842 - shepmaster:bootstrap-rustfmt, r=Mark-Simulacrum

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
```

r? `@Mark-Simulacrum`