diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-09-11 22:17:16 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-09-15 11:19:55 -0400 |
| commit | 328c61c15711ae8a741b2aa56af1c450f54d1796 (patch) | |
| tree | 63b43832663dab8e75d3ee2ddc6b4e3cb63502eb /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 12c10e34a49385d329e15575027d0faa729986f3 (diff) | |
| download | rust-328c61c15711ae8a741b2aa56af1c450f54d1796.tar.gz rust-328c61c15711ae8a741b2aa56af1c450f54d1796.zip | |
Make the default stage for x.py configurable
This allows configuring the default stage for each sub-command individually. - Normalize the stage as early as possible, so there's no confusion about which to use. - Don't add an explicit `stage` option in config.toml This offers no more flexibility than `*_stage` and makes it confusing which takes precedence. - Always give `--stage N` precedence over config.toml - Fix bootstrap tests This changes the tests to go through `Config::parse` so that they test the actual defaults, not the dummy ones provided by `default_opts`. To make this workable (and independent of the environment), it does not read `config.toml` for tests.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
