about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-05 23:51:40 -0400
committerGitHub <noreply@github.com>2017-04-05 23:51:40 -0400
commit083c7a93beb2951465732b015afc7deb651a7ce5 (patch)
tree7be5f9a396aef14fdcaf525e1749e85bceedf2f9 /src/test/run-pass/thinlto
parenta97a9d9d001cd8f0cda9ef4ef5c900ae7a961536 (diff)
parentea2bfae8694221c92857a0b3dd96f63a8a255db2 (diff)
downloadrust-083c7a93beb2951465732b015afc7deb651a7ce5.tar.gz
rust-083c7a93beb2951465732b015afc7deb651a7ce5.zip
Rollup merge of #41011 - CleanCut:bootstrap-help, r=alexcrichton
Overhaul Bootstrap (x.py) Command-Line-Parsing & Help Output

While working on #40417, I got frustrated with the behavior of x.py and the bootstrap binary it wraps, so I decided to do something about it.  This PR should improve documentation, make the command-line-parsing more flexible, and clean up some of the internals.  No command that worked before should stop working.  At least that's the theory. :-)

This should resolve at least #40920 and #38373.

Changes:

- No more manual args manipulation -- getopts used everywhere except the one place it's not possible.  As a result, options can be in any position, now, even before the subcommand.
- The additional options for test, bench, and dist now appear in the help output.
- No more single-letter variable bindings used internally for large scopes.
- Don't output the time measurement when just invoking `x.py` or explicitly passing `-h` or `--help`
- Logic is now much more linear.  We build strings up, and then print them.
- Refer to subcommands as subcommands everywhere (some places we were saying "command")
- Other minor stuff.

@alexcrichton This is my first PR. Do I need to do something specific to request reviewers or anything?
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions