about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-28 15:56:22 +0800
committerGitHub <noreply@github.com>2017-10-28 15:56:22 +0800
commita03d0181c51f29ad52216cb64bf27a0da4515029 (patch)
treec35d824bf1cc4a30051c7d0dfaa9399870b5d1e3 /src/libstd/sys/unix/stack_overflow.rs
parent0a916a43e9a0d2dd0143ce87d3f437148f7b0155 (diff)
parent732d9b281cbcc88a627fddb660a3b4021e1d94cf (diff)
downloadrust-a03d0181c51f29ad52216cb64bf27a0da4515029.tar.gz
rust-a03d0181c51f29ad52216cb64bf27a0da4515029.zip
Rollup merge of #45535 - topecongiro:bootstrap-exit-code, r=kennytm
Return 0 as an exit status when no subcommand is given to bootstrap

Running `./x.py` emits usage and error messages when no subcommand is given:
```
Usage: x.py <subcommand> [options] [<paths>...]

Subcommands:
    build       Compile either the compiler or libraries
    test        Build and run some test suites
    bench       Build and run some benchmarks
    doc         Build documentation
    clean       Clean out build directories
    dist        Build distribution artifacts
    install     Install distribution artifacts

To learn more about a subcommand, run `./x.py <subcommand> -h`

failed to run: /home/topecongiro/rust/build/bootstrap/debug/bootstrap
```
IMHO the last line is unnecessary. This PR removes it by changing the return code of `bootstrap` to 0 when no sub command is given.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions