| author | bors <bors@rust-lang.org> 2025-03-17 15:51:28 UTC |
| committer | bors <bors@rust-lang.org> 2025-03-17 15:51:28 UTC |
| log | 8279176ccdfd4eebd40a671f75b6d3024ae56b42 |
| tree | 9211ac589843f4f8040e0310a6a15347e7ffcebf |
| parent | 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a |
| parent | 4579615b14a3a2ee1a0040365d969d9526ed7e1c |
change config.toml to bootstrap.toml
Currently, both Bootstrap and Cargo uses same name as their configuration file, which can be confusing. This PR is based on a discussion to rename `config.toml` to `bootstrap.toml` for Bootstrap. Closes: https://github.com/rust-lang/rust/issues/126875.
I have split the PR into atomic commits to make it easier to review. Once the changes are finalized, I will squash them. I am particularly concerned about the changes made to modules that are not part of Bootstrap. How should we handle those changes? Should we ping the respective maintainers?130 files changed, 1670 insertions(+), 1632 deletions(-)
.github/ISSUE_TEMPLATE/bootstrap.md+1-1| ... | ... | @@ -32,7 +32,7 @@ Describe what you expected to happen. |
| 32 | 32 | Describe what actually happened. |
| 33 | 33 | --> |
| 34 | 34 | |
| 35 | ### Bootstrap configuration (config.toml) | |
| 35 | ### Bootstrap configuration (bootstrap.toml) | |
| 36 | 36 | ```toml |
| 37 | 37 | <config> |
| 38 | 38 | ``` |
.gitignore+2-1| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | # This file should only ignore things that are generated during a `x.py` build, |
| 2 | 2 | # generated by common IDEs, and optional files controlled by the user that |
| 3 | # affect the build (such as config.toml). | |
| 3 | # affect the build (such as bootstrap.toml). | |
| 4 | 4 | # In particular, things like `mir_dump` should not be listed here; they are only |
| 5 | 5 | # created during manual debugging and many people like to clean up instead of |
| 6 | 6 | # having git ignore such leftovers. You can use `.git/info/exclude` to |
| ... | ... | @@ -34,6 +34,7 @@ Session.vim |
| 34 | 34 | !/tests/run-make/thumb-none-qemu/example/.cargo |
| 35 | 35 | |
| 36 | 36 | ## Configuration |
| 37 | /bootstrap.toml | |
| 37 | 38 | /config.toml |
| 38 | 39 | /Makefile |
| 39 | 40 | config.mk |
.ignore+2-1| ... | ... | @@ -1,2 +1,3 @@ |
| 1 | # Make vscode *not* count `config.toml` as ignored, so it is included in search | |
| 1 | # Make vscode *not* count `bootstrap.toml` and `config.toml` as ignored, so it is included in search | |
| 2 | !/bootstrap.toml | |
| 2 | 3 | !/config.toml |
INSTALL.md+5-5| ... | ... | @@ -6,9 +6,9 @@ If you just want to install Rust, check out the [README.md](README.md) instead.* |
| 6 | 6 | |
| 7 | 7 | The Rust build system uses a Python script called `x.py` to build the compiler, |
| 8 | 8 | which manages the bootstrapping process. It lives at the root of the project. |
| 9 | It also uses a file named `config.toml` to determine various configuration | |
| 9 | It also uses a file named `bootstrap.toml` to determine various configuration | |
| 10 | 10 | settings for the build. You can see a full list of options in |
| 11 | `config.example.toml`. | |
| 11 | `bootstrap.example.toml`. | |
| 12 | 12 | |
| 13 | 13 | The `x.py` command can be run directly on most Unix systems in the following |
| 14 | 14 | format: |
| ... | ... | @@ -115,7 +115,7 @@ See [the rustc-dev-guide for more info][sysllvm]. |
| 115 | 115 | |
| 116 | 116 | This project provides a configure script and makefile (the latter of which just |
| 117 | 117 | invokes `x.py`). `./configure` is the recommended way to programmatically |
| 118 | generate a `config.toml`. `make` is not recommended (we suggest using `x.py` | |
| 118 | generate a `bootstrap.toml`. `make` is not recommended (we suggest using `x.py` | |
| 119 | 119 | directly), but it is supported and we try not to break it unnecessarily. |
| 120 | 120 | |
| 121 | 121 | ```sh |
| ... | ... | @@ -123,7 +123,7 @@ directly), but it is supported and we try not to break it unnecessarily. |
| 123 | 123 | make && sudo make install |
| 124 | 124 | ``` |
| 125 | 125 | |
| 126 | `configure` generates a `config.toml` which can also be used with normal `x.py` | |
| 126 | `configure` generates a `bootstrap.toml` which can also be used with normal `x.py` | |
| 127 | 127 | invocations. |
| 128 | 128 | |
| 129 | 129 | ## Building on Windows |
| ... | ... | @@ -255,7 +255,7 @@ Windows build triples are: |
| 255 | 255 | - `x86_64-pc-windows-msvc` |
| 256 | 256 | |
| 257 | 257 | The build triple can be specified by either specifying `--build=<triple>` when |
| 258 | invoking `x.py` commands, or by creating a `config.toml` file (as described in | |
| 258 | invoking `x.py` commands, or by creating a `bootstrap.toml` file (as described in | |
| 259 | 259 | [Building on a Unix-like system](#building-on-a-unix-like-system)), and passing |
| 260 | 260 | `--set build.build=<triple>` to `./configure`. |
| 261 | 261 |
RELEASES.md+2-2| ... | ... | @@ -2282,7 +2282,7 @@ Compatibility Notes |
| 2282 | 2282 | - [Cargo denies `CARGO_HOME` in the `[env]` configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.](https://github.com/rust-lang/cargo/pull/11644/) |
| 2283 | 2283 | - [Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time.](https://github.com/rust-lang/cargo/pull/11252/) |
| 2284 | 2284 | - [The Rust distribution no longer always includes rustdoc](https://github.com/rust-lang/rust/pull/106886) |
| 2285 | If `tools = [...]` is set in config.toml, we will respect a missing rustdoc in that list. By | |
| 2285 | If `tools = [...]` is set in bootstrap.toml, we will respect a missing rustdoc in that list. By | |
| 2286 | 2286 | default rustdoc remains included. To retain the prior behavior explicitly add `"rustdoc"` to the |
| 2287 | 2287 | list. |
| 2288 | 2288 | |
| ... | ... | @@ -5268,7 +5268,7 @@ related tools. |
| 5268 | 5268 | |
| 5269 | 5269 | - [Building `rustc` from source now uses `ninja` by default over `make`.][74922] |
| 5270 | 5270 | You can continue building with `make` by setting `ninja=false` in |
| 5271 | your `config.toml`. | |
| 5271 | your `bootstrap.toml`. | |
| 5272 | 5272 | - [cg_llvm: `fewer_names` in `uncached_llvm_type`][76030] |
| 5273 | 5273 | - [Made `ensure_sufficient_stack()` non-generic][76680] |
| 5274 | 5274 |
REUSE.toml+1-1| ... | ... | @@ -22,7 +22,7 @@ path = [ |
| 22 | 22 | "Cargo.lock", |
| 23 | 23 | "Cargo.toml", |
| 24 | 24 | "CODE_OF_CONDUCT.md", |
| 25 | "config.example.toml", | |
| 25 | "bootstrap.example.toml", | |
| 26 | 26 | "configure", |
| 27 | 27 | "CONTRIBUTING.md", |
| 28 | 28 | "COPYRIGHT", |
bootstrap.example.toml created+998| ... | ... | @@ -0,0 +1,998 @@ |
| 1 | # Sample TOML configuration file for building Rust. | |
| 2 | # | |
| 3 | # To configure bootstrap, run `./configure` or `./x.py setup`. | |
| 4 | # See https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#create-a-configtoml for more information. | |
| 5 | # | |
| 6 | # All options are commented out by default in this file, and they're commented | |
| 7 | # out with their default values. The build system by default looks for | |
| 8 | # `bootstrap.toml` in the current directory of a build for build configuration, but | |
| 9 | # a custom configuration file can also be specified with `--config` to the build | |
| 10 | # system. | |
| 11 | ||
| 12 | # ============================================================================= | |
| 13 | # Global Settings | |
| 14 | # ============================================================================= | |
| 15 | ||
| 16 | # Use different pre-set defaults than the global defaults. | |
| 17 | # | |
| 18 | # See `src/bootstrap/defaults` for more information. | |
| 19 | # Note that this has no default value (x.py uses the defaults in `bootstrap.example.toml`). | |
| 20 | #profile = <none> | |
| 21 | ||
| 22 | # Keeps track of major changes made to this configuration. | |
| 23 | # | |
| 24 | # This value also represents ID of the PR that caused major changes. Meaning, | |
| 25 | # you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details. | |
| 26 | # | |
| 27 | # A 'major change' includes any of the following | |
| 28 | # - A new option | |
| 29 | # - A change in the default values | |
| 30 | # | |
| 31 | # If `change-id` does not match the version that is currently running, | |
| 32 | # `x.py` will inform you about the changes made on bootstrap. | |
| 33 | #change-id = <latest change id in src/bootstrap/src/utils/change_tracker.rs> | |
| 34 | ||
| 35 | # ============================================================================= | |
| 36 | # Tweaking how LLVM is compiled | |
| 37 | # ============================================================================= | |
| 38 | [llvm] | |
| 39 | ||
| 40 | # Whether to use Rust CI built LLVM instead of locally building it. | |
| 41 | # | |
| 42 | # Unless you're developing for a target where Rust CI doesn't build a compiler | |
| 43 | # toolchain or changing LLVM locally, you probably want to leave this enabled. | |
| 44 | # | |
| 45 | # Set this to `true` to download if CI llvm available otherwise it builds | |
| 46 | # from `src/llvm-project`. | |
| 47 | # | |
| 48 | # Set this to `"if-unchanged"` to download only if the llvm-project has not | |
| 49 | # been modified. You can also use this if you are unsure whether you're on a | |
| 50 | # tier 1 target. All tier 1 targets are currently supported. | |
| 51 | ||
| 52 | # Currently, we only support this when building LLVM for the build triple. | |
| 53 | # | |
| 54 | # Note that many of the LLVM options are not currently supported for | |
| 55 | # downloading. Currently only the "assertions" option can be toggled. | |
| 56 | #download-ci-llvm = true | |
| 57 | ||
| 58 | # Indicates whether the LLVM build is a Release or Debug build | |
| 59 | #optimize = true | |
| 60 | ||
| 61 | # Indicates whether LLVM should be built with ThinLTO. Note that this will | |
| 62 | # only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ | |
| 63 | # toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below). | |
| 64 | # More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap | |
| 65 | #thin-lto = false | |
| 66 | ||
| 67 | # Indicates whether an LLVM Release build should include debug info | |
| 68 | #release-debuginfo = false | |
| 69 | ||
| 70 | # Indicates whether the LLVM assertions are enabled or not | |
| 71 | # NOTE: When assertions are disabled, bugs in the integration between rustc and LLVM can lead to | |
| 72 | # unsoundness (segfaults, etc.) in the rustc process itself, not just in the generated code. | |
| 73 | #assertions = false | |
| 74 | ||
| 75 | # Indicates whether the LLVM testsuite is enabled in the build or not. Does | |
| 76 | # not execute the tests as part of the build as part of x.py build et al, | |
| 77 | # just makes it possible to do `ninja check-llvm` in the staged LLVM build | |
| 78 | # directory when doing LLVM development as part of Rust development. | |
| 79 | #tests = false | |
| 80 | ||
| 81 | # Indicates whether the LLVM plugin is enabled or not | |
| 82 | #plugins = false | |
| 83 | ||
| 84 | # Whether to build Enzyme as AutoDiff backend. | |
| 85 | #enzyme = false | |
| 86 | ||
| 87 | # Whether to build LLVM with support for it's gpu offload runtime. | |
| 88 | #offload = false | |
| 89 | ||
| 90 | # When true, link libstdc++ statically into the rustc_llvm. | |
| 91 | # This is useful if you don't want to use the dynamic version of that | |
| 92 | # library provided by LLVM. | |
| 93 | #static-libstdcpp = false | |
| 94 | ||
| 95 | # Enable LLVM to use zstd for compression. | |
| 96 | #libzstd = false | |
| 97 | ||
| 98 | # Whether to use Ninja to build LLVM. This runs much faster than make. | |
| 99 | #ninja = true | |
| 100 | ||
| 101 | # LLVM targets to build support for. | |
| 102 | # Note: this is NOT related to Rust compilation targets. However, as Rust is | |
| 103 | # dependent on LLVM for code generation, turning targets off here WILL lead to | |
| 104 | # the resulting rustc being unable to compile for the disabled architectures. | |
| 105 | # | |
| 106 | # To add support for new targets, see https://rustc-dev-guide.rust-lang.org/building/new-target.html. | |
| 107 | #targets = "AArch64;AMDGPU;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" | |
| 108 | ||
| 109 | # LLVM experimental targets to build support for. These targets are specified in | |
| 110 | # the same format as above, but since these targets are experimental, they are | |
| 111 | # not built by default and the experimental Rust compilation targets that depend | |
| 112 | # on them will not work unless the user opts in to building them. | |
| 113 | #experimental-targets = "AVR;M68k;CSKY" | |
| 114 | ||
| 115 | # Cap the number of parallel linker invocations when compiling LLVM. | |
| 116 | # This can be useful when building LLVM with debug info, which significantly | |
| 117 | # increases the size of binaries and consequently the memory required by | |
| 118 | # each linker process. | |
| 119 | # If set to 0, linker invocations are treated like any other job and | |
| 120 | # controlled by bootstrap's -j parameter. | |
| 121 | #link-jobs = 0 | |
| 122 | ||
| 123 | # Whether to build LLVM as a dynamically linked library (as opposed to statically linked). | |
| 124 | # Under the hood, this passes `--shared` to llvm-config. | |
| 125 | # NOTE: To avoid performing LTO multiple times, we suggest setting this to `true` when `thin-lto` is enabled. | |
| 126 | #link-shared = llvm.thin-lto | |
| 127 | ||
| 128 | # When building llvm, this configures what is being appended to the version. | |
| 129 | # To use LLVM version as is, provide an empty string. | |
| 130 | #version-suffix = if rust.channel == "dev" { "-rust-dev" } else { "-rust-$version-$channel" } | |
| 131 | ||
| 132 | # On MSVC you can compile LLVM with clang-cl, but the test suite doesn't pass | |
| 133 | # with clang-cl, so this is special in that it only compiles LLVM with clang-cl. | |
| 134 | # Note that this takes a /path/to/clang-cl, not a boolean. | |
| 135 | #clang-cl = cc | |
| 136 | ||
| 137 | # Pass extra compiler and linker flags to the LLVM CMake build. | |
| 138 | #cflags = "" | |
| 139 | #cxxflags = "" | |
| 140 | #ldflags = "" | |
| 141 | ||
| 142 | # Use libc++ when building LLVM instead of libstdc++. This is the default on | |
| 143 | # platforms already use libc++ as the default C++ library, but this option | |
| 144 | # allows you to use libc++ even on platforms when it's not. You need to ensure | |
| 145 | # that your host compiler ships with libc++. | |
| 146 | #use-libcxx = false | |
| 147 | ||
| 148 | # The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake. | |
| 149 | #use-linker = <none> (path) | |
| 150 | ||
| 151 | # Whether or not to specify `-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES` | |
| 152 | #allow-old-toolchain = false | |
| 153 | ||
| 154 | # Whether to include the Polly optimizer. | |
| 155 | #polly = false | |
| 156 | ||
| 157 | # Whether to build the clang compiler. | |
| 158 | #clang = false | |
| 159 | ||
| 160 | # Whether to enable llvm compilation warnings. | |
| 161 | #enable-warnings = false | |
| 162 | ||
| 163 | # Custom CMake defines to set when building LLVM. | |
| 164 | #build-config = {} | |
| 165 | ||
| 166 | # ============================================================================= | |
| 167 | # Tweaking how GCC is compiled | |
| 168 | # ============================================================================= | |
| 169 | [gcc] | |
| 170 | # Download GCC from CI instead of building it locally. | |
| 171 | # Note that this will attempt to download GCC even if there are local | |
| 172 | # modifications to the `src/gcc` submodule. | |
| 173 | # Currently, this is only supported for the `x86_64-unknown-linux-gnu` target. | |
| 174 | # download-ci-gcc = false | |
| 175 | ||
| 176 | # ============================================================================= | |
| 177 | # General build configuration options | |
| 178 | # ============================================================================= | |
| 179 | [build] | |
| 180 | ||
| 181 | # The default stage to use for the `check` subcommand | |
| 182 | #check-stage = 0 | |
| 183 | ||
| 184 | # The default stage to use for the `doc` subcommand | |
| 185 | #doc-stage = 0 | |
| 186 | ||
| 187 | # The default stage to use for the `build` subcommand | |
| 188 | #build-stage = 1 | |
| 189 | ||
| 190 | # The default stage to use for the `test` subcommand | |
| 191 | #test-stage = 1 | |
| 192 | ||
| 193 | # The default stage to use for the `dist` subcommand | |
| 194 | #dist-stage = 2 | |
| 195 | ||
| 196 | # The default stage to use for the `install` subcommand | |
| 197 | #install-stage = 2 | |
| 198 | ||
| 199 | # The default stage to use for the `bench` subcommand | |
| 200 | #bench-stage = 2 | |
| 201 | ||
| 202 | # A descriptive string to be appended to version output (e.g., `rustc --version`), | |
| 203 | # which is also used in places like debuginfo `DW_AT_producer`. This may be useful for | |
| 204 | # supplementary build information, like distro-specific package versions. | |
| 205 | # | |
| 206 | # The Rust compiler will differentiate between versions of itself, including | |
| 207 | # based on this string, which means that if you wish to be compatible with | |
| 208 | # upstream Rust you need to set this to "". However, note that if you set this to "" but | |
| 209 | # are not actually compatible -- for example if you've backported patches that change | |
| 210 | # behavior -- this may lead to miscompilations or other bugs. | |
| 211 | #description = "" | |
| 212 | ||
| 213 | # Build triple for the pre-compiled snapshot compiler. If `rustc` is set, this must match its host | |
| 214 | # triple (see `rustc --version --verbose`; cross-compiling the rust build system itself is NOT | |
| 215 | # supported). If `rustc` is unset, this must be a platform with pre-compiled host tools | |
| 216 | # (https://doc.rust-lang.org/nightly/rustc/platform-support.html). The current platform must be | |
| 217 | # able to run binaries of this build triple. | |
| 218 | # | |
| 219 | # If `rustc` is present in path, this defaults to the host it was compiled for. | |
| 220 | # Otherwise, `x.py` will try to infer it from the output of `uname`. | |
| 221 | # If `uname` is not found in PATH, we assume this is `x86_64-pc-windows-msvc`. | |
| 222 | # This may be changed in the future. | |
| 223 | #build = "x86_64-unknown-linux-gnu" (as an example) | |
| 224 | ||
| 225 | # Which triples to produce a compiler toolchain for. Each of these triples will be bootstrapped from | |
| 226 | # the build triple themselves. In other words, this is the list of triples for which to build a | |
| 227 | # compiler that can RUN on that triple. | |
| 228 | # | |
| 229 | # Defaults to just the `build` triple. | |
| 230 | #host = [build.build] (list of triples) | |
| 231 | ||
| 232 | # Which triples to build libraries (core/alloc/std/test/proc_macro) for. Each of these triples will | |
| 233 | # be bootstrapped from the build triple themselves. In other words, this is the list of triples for | |
| 234 | # which to build a library that can CROSS-COMPILE to that triple. | |
| 235 | # | |
| 236 | # Defaults to `host`. If you set this explicitly, you likely want to add all | |
| 237 | # host triples to this list as well in order for those host toolchains to be | |
| 238 | # able to compile programs for their native target. | |
| 239 | #target = build.host (list of triples) | |
| 240 | ||
| 241 | # Use this directory to store build artifacts. Paths are relative to the current directory, not to | |
| 242 | # the root of the repository. | |
| 243 | #build-dir = "build" | |
| 244 | ||
| 245 | # Instead of downloading the src/stage0 version of Cargo specified, use | |
| 246 | # this Cargo binary instead to build all Rust code | |
| 247 | # If you set this, you likely want to set `rustc` as well. | |
| 248 | #cargo = "/path/to/cargo" | |
| 249 | ||
| 250 | # Instead of downloading the src/stage0 version of the compiler | |
| 251 | # specified, use this rustc binary instead as the stage0 snapshot compiler. | |
| 252 | # If you set this, you likely want to set `cargo` as well. | |
| 253 | #rustc = "/path/to/rustc" | |
| 254 | ||
| 255 | # Instead of downloading the src/stage0 version of rustfmt specified, | |
| 256 | # use this rustfmt binary instead as the stage0 snapshot rustfmt. | |
| 257 | #rustfmt = "/path/to/rustfmt" | |
| 258 | ||
| 259 | # Instead of downloading the src/stage0 version of cargo-clippy specified, | |
| 260 | # use this cargo-clippy binary instead as the stage0 snapshot cargo-clippy. | |
| 261 | # | |
| 262 | # Note that this option should be used with the same toolchain as the `rustc` option above. | |
| 263 | # Otherwise, clippy is likely to fail due to a toolchain conflict. | |
| 264 | #cargo-clippy = "/path/to/cargo-clippy" | |
| 265 | ||
| 266 | # Whether to build documentation by default. If false, rustdoc and | |
| 267 | # friends will still be compiled but they will not be used to generate any | |
| 268 | # documentation. | |
| 269 | # | |
| 270 | # You can still build documentation when this is disabled by explicitly passing paths, | |
| 271 | # e.g. `x doc library`. | |
| 272 | #docs = true | |
| 273 | ||
| 274 | # Flag to specify whether CSS, JavaScript, and HTML are minified when | |
| 275 | # docs are generated. JSON is always minified, because it's enormous, | |
| 276 | # and generated in already-minified form from the beginning. | |
| 277 | #docs-minification = true | |
| 278 | ||
| 279 | # Flag to specify whether private items should be included in the library docs. | |
| 280 | #library-docs-private-items = false | |
| 281 | ||
| 282 | # Indicate whether to build compiler documentation by default. | |
| 283 | # You can still build documentation when this is disabled by explicitly passing a path: `x doc compiler`. | |
| 284 | #compiler-docs = false | |
| 285 | ||
| 286 | # Indicate whether git submodules are managed and updated automatically. | |
| 287 | #submodules = true | |
| 288 | ||
| 289 | # The path to (or name of) the GDB executable to use. This is only used for | |
| 290 | # executing the debuginfo test suite. | |
| 291 | #gdb = "gdb" | |
| 292 | ||
| 293 | # The path to (or name of) the LLDB executable to use. This is only used for | |
| 294 | # executing the debuginfo test suite. | |
| 295 | #lldb = "lldb" | |
| 296 | ||
| 297 | # The node.js executable to use. Note that this is only used for the emscripten | |
| 298 | # target when running tests, otherwise this can be omitted. | |
| 299 | #nodejs = "node" | |
| 300 | ||
| 301 | # The npm executable to use. Note that this is used for rustdoc-gui tests, | |
| 302 | # otherwise this can be omitted. | |
| 303 | # | |
| 304 | # Under Windows this should be `npm.cmd` or path to it (verified on nodejs v18.06), or | |
| 305 | # error will be emitted. | |
| 306 | #npm = "npm" | |
| 307 | ||
| 308 | # Python interpreter to use for various tasks throughout the build, notably | |
| 309 | # rustdoc tests, the lldb python interpreter, and some dist bits and pieces. | |
| 310 | # | |
| 311 | # Defaults to the Python interpreter used to execute x.py. | |
| 312 | #python = "python" | |
| 313 | ||
| 314 | # The path to the REUSE executable to use. Note that REUSE is not required in | |
| 315 | # most cases, as our tooling relies on a cached (and shrunk) copy of the | |
| 316 | # REUSE output present in the git repository and in our source tarballs. | |
| 317 | # | |
| 318 | # REUSE is only needed if your changes caused the overall licensing of the | |
| 319 | # repository to change, and the cached copy has to be regenerated. | |
| 320 | # | |
| 321 | # Defaults to the "reuse" command in the system path. | |
| 322 | #reuse = "reuse" | |
| 323 | ||
| 324 | # Force Cargo to check that Cargo.lock describes the precise dependency | |
| 325 | # set that all the Cargo.toml files create, instead of updating it. | |
| 326 | #locked-deps = false | |
| 327 | ||
| 328 | # Indicate whether the vendored sources are used for Rust dependencies or not. | |
| 329 | # | |
| 330 | # Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you | |
| 331 | # want to use vendoring. See https://forge.rust-lang.org/infra/other-installation-methods.html#source-code. | |
| 332 | #vendor = if "is a tarball source" && "vendor" dir exists && ".cargo/config.toml" file exists { true } else { false } | |
| 333 | ||
| 334 | # Typically the build system will build the Rust compiler twice. The second | |
| 335 | # compiler, however, will simply use its own libraries to link against. If you | |
| 336 | # would rather to perform a full bootstrap, compiling the compiler three times, | |
| 337 | # then you can set this option to true. | |
| 338 | # | |
| 339 | # This is only useful for verifying that rustc generates reproducible builds. | |
| 340 | #full-bootstrap = false | |
| 341 | ||
| 342 | # Set the bootstrap/download cache path. It is useful when building rust | |
| 343 | # repeatedly in a CI environment. | |
| 344 | #bootstrap-cache-path = /path/to/shared/cache | |
| 345 | ||
| 346 | # Enable a build of the extended Rust tool set which is not only the compiler | |
| 347 | # but also tools such as Cargo. This will also produce "combined installers" | |
| 348 | # which are used to install Rust and Cargo together. | |
| 349 | # The `tools` (check `bootstrap.example.toml` to see its default value) option specifies | |
| 350 | # which tools should be built if `extended = true`. | |
| 351 | # | |
| 352 | # This is disabled by default. | |
| 353 | #extended = false | |
| 354 | ||
| 355 | # Set of tools to be included in the installation. | |
| 356 | # | |
| 357 | # If `extended = false`, the only one of these built by default is rustdoc. | |
| 358 | # | |
| 359 | # If `extended = true`, they are all included. | |
| 360 | # | |
| 361 | # If any enabled tool fails to build, the installation fails. | |
| 362 | #tools = [ | |
| 363 | # "cargo", | |
| 364 | # "clippy", | |
| 365 | # "rustdoc", | |
| 366 | # "rustfmt", | |
| 367 | # "rust-analyzer", | |
| 368 | # "rust-analyzer-proc-macro-srv", | |
| 369 | # "analysis", | |
| 370 | # "src", | |
| 371 | # "wasm-component-ld", | |
| 372 | # "miri", "cargo-miri" # for dev/nightly channels | |
| 373 | #] | |
| 374 | ||
| 375 | # Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose, 3 == print environment variables on each rustc invocation | |
| 376 | #verbose = 0 | |
| 377 | ||
| 378 | # Build the sanitizer runtimes | |
| 379 | #sanitizers = false | |
| 380 | ||
| 381 | # Build the profiler runtime (required when compiling with options that depend | |
| 382 | # on this runtime, such as `-C profile-generate` or `-C instrument-coverage`). | |
| 383 | #profiler = false | |
| 384 | ||
| 385 | # Use the optimized LLVM C intrinsics for `compiler_builtins`, rather than Rust intrinsics. | |
| 386 | # Requires the LLVM submodule to be managed by bootstrap (i.e. not external) so that `compiler-rt` | |
| 387 | # sources are available. | |
| 388 | # | |
| 389 | # Setting this to `false` generates slower code, but removes the requirement for a C toolchain in | |
| 390 | # order to run `x check`. | |
| 391 | #optimized-compiler-builtins = if rust.channel == "dev" { false } else { true } | |
| 392 | ||
| 393 | # Indicates whether the native libraries linked into Cargo will be statically | |
| 394 | # linked or not. | |
| 395 | #cargo-native-static = false | |
| 396 | ||
| 397 | # Run the build with low priority, by setting the process group's "nice" value | |
| 398 | # to +10 on Unix platforms, and by using a "low priority" job object on Windows. | |
| 399 | #low-priority = false | |
| 400 | ||
| 401 | # Arguments passed to the `./configure` script, used during distcheck. You | |
| 402 | # probably won't fill this in but rather it's filled in by the `./configure` | |
| 403 | # script. Useful for debugging. | |
| 404 | #configure-args = [] | |
| 405 | ||
| 406 | # Indicates that a local rebuild is occurring instead of a full bootstrap, | |
| 407 | # essentially skipping stage0 as the local compiler is recompiling itself again. | |
| 408 | # Useful for modifying only the stage2 compiler without having to pass `--keep-stage 0` each time. | |
| 409 | #local-rebuild = false | |
| 410 | ||
| 411 | # Print out how long each bootstrap step took (mostly intended for CI and | |
| 412 | # tracking over time) | |
| 413 | #print-step-timings = false | |
| 414 | ||
| 415 | # Print out resource usage data for each bootstrap step, as defined by the Unix | |
| 416 | # struct rusage. (Note that this setting is completely unstable: the data it | |
| 417 | # captures, what platforms it supports, the format of its associated output, and | |
| 418 | # this setting's very existence, are all subject to change.) | |
| 419 | #print-step-rusage = false | |
| 420 | ||
| 421 | # Always patch binaries for usage with Nix toolchains. If `true` then binaries | |
| 422 | # will be patched unconditionally. If `false` or unset, binaries will be patched | |
| 423 | # only if the current distribution is NixOS. This option is useful when using | |
| 424 | # a Nix toolchain on non-NixOS distributions. | |
| 425 | #patch-binaries-for-nix = false | |
| 426 | ||
| 427 | # Collect information and statistics about the current build, and write it to | |
| 428 | # disk. Enabling this has no impact on the resulting build output. The | |
| 429 | # schema of the file generated by the build metrics feature is unstable, and | |
| 430 | # this is not intended to be used during local development. | |
| 431 | #metrics = false | |
| 432 | ||
| 433 | # Specify the location of the Android NDK. Used when targeting Android. | |
| 434 | #android-ndk = "/path/to/android-ndk-r26d" | |
| 435 | ||
| 436 | # Number of parallel jobs to be used for building and testing. If set to `0` or | |
| 437 | # omitted, it will be automatically determined. This is the `-j`/`--jobs` flag | |
| 438 | # passed to cargo invocations. | |
| 439 | #jobs = 0 | |
| 440 | ||
| 441 | # What custom diff tool to use for displaying compiletest tests. | |
| 442 | #compiletest-diff-tool = <none> | |
| 443 | ||
| 444 | # Indicates whether ccache is used when building certain artifacts (e.g. LLVM). | |
| 445 | # Set to `true` to use the first `ccache` in PATH, or set an absolute path to use | |
| 446 | # a specific version. | |
| 447 | #ccache = false | |
| 448 | ||
| 449 | # List of paths to exclude from the build and test processes. | |
| 450 | # For example, exclude = ["tests/ui", "src/tools/tidy"]. | |
| 451 | #exclude = [] | |
| 452 | ||
| 453 | # ============================================================================= | |
| 454 | # General install configuration options | |
| 455 | # ============================================================================= | |
| 456 | [install] | |
| 457 | ||
| 458 | # Where to install the generated toolchain. Must be an absolute path. | |
| 459 | #prefix = "/usr/local" | |
| 460 | ||
| 461 | # Where to install system configuration files. | |
| 462 | # If this is a relative path, it will get installed in `prefix` above | |
| 463 | #sysconfdir = "/etc" | |
| 464 | ||
| 465 | # Where to install documentation in `prefix` above | |
| 466 | #docdir = "share/doc/rust" | |
| 467 | ||
| 468 | # Where to install binaries in `prefix` above | |
| 469 | #bindir = "bin" | |
| 470 | ||
| 471 | # Where to install libraries in `prefix` above | |
| 472 | #libdir = "lib" | |
| 473 | ||
| 474 | # Where to install man pages in `prefix` above | |
| 475 | #mandir = "share/man" | |
| 476 | ||
| 477 | # Where to install data in `prefix` above | |
| 478 | #datadir = "share" | |
| 479 | ||
| 480 | # ============================================================================= | |
| 481 | # Options for compiling Rust code itself | |
| 482 | # ============================================================================= | |
| 483 | [rust] | |
| 484 | ||
| 485 | # Whether or not to optimize when compiling the compiler and standard library, | |
| 486 | # and what level of optimization to use. | |
| 487 | # WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping, | |
| 488 | # building without optimizations takes much longer than optimizing. Further, some platforms | |
| 489 | # fail to build without this optimization (c.f. #65352). | |
| 490 | # The valid options are: | |
| 491 | # true - Enable optimizations. | |
| 492 | # false - Disable optimizations. | |
| 493 | # 0 - Disable optimizations. | |
| 494 | # 1 - Basic optimizations. | |
| 495 | # 2 - Some optimizations. | |
| 496 | # 3 - All optimizations. | |
| 497 | # "s" - Optimize for binary size. | |
| 498 | # "z" - Optimize for binary size, but also turn off loop vectorization. | |
| 499 | #optimize = true | |
| 500 | ||
| 501 | # Indicates that the build should be configured for debugging Rust. A | |
| 502 | # `debug`-enabled compiler and standard library will be somewhat | |
| 503 | # slower (due to e.g. checking of debug assertions) but should remain | |
| 504 | # usable. | |
| 505 | # | |
| 506 | # Note: If this value is set to `true`, it will affect a number of | |
| 507 | # configuration options below as well, if they have been left | |
| 508 | # unconfigured in this file. | |
| 509 | # | |
| 510 | # Note: changes to the `debug` setting do *not* affect `optimize` | |
| 511 | # above. In theory, a "maximally debuggable" environment would | |
| 512 | # set `optimize` to `false` above to assist the introspection | |
| 513 | # facilities of debuggers like lldb and gdb. To recreate such an | |
| 514 | # environment, explicitly set `optimize` to `false` and `debug` | |
| 515 | # to `true`. In practice, everyone leaves `optimize` set to | |
| 516 | # `true`, because an unoptimized rustc with debugging | |
| 517 | # enabled becomes *unusably slow* (e.g. rust-lang/rust#24840 | |
| 518 | # reported a 25x slowdown) and bootstrapping the supposed | |
| 519 | # "maximally debuggable" environment (notably libstd) takes | |
| 520 | # hours to build. | |
| 521 | # | |
| 522 | #debug = false | |
| 523 | ||
| 524 | # Whether to download the stage 1 and 2 compilers from CI. This is useful if you | |
| 525 | # are working on tools, doc-comments, or library (you will be able to build the | |
| 526 | # standard library without needing to build the compiler). | |
| 527 | # | |
| 528 | # Set this to "if-unchanged" if you are working on `src/tools`, `tests` or | |
| 529 | # `library` (on CI, `library` changes triggers in-tree compiler build) to speed | |
| 530 | # up the build process if you don't need to build a compiler from the latest | |
| 531 | # commit from `master`. | |
| 532 | # | |
| 533 | # Set this to `true` to always download or `false` to always use the in-tree | |
| 534 | # compiler. | |
| 535 | #download-rustc = false | |
| 536 | ||
| 537 | # Number of codegen units to use for each compiler invocation. A value of 0 | |
| 538 | # means "the number of cores on this machine", and 1+ is passed through to the | |
| 539 | # compiler. | |
| 540 | # | |
| 541 | # Uses the rustc defaults: https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units | |
| 542 | #codegen-units = if incremental { 256 } else { 16 } | |
| 543 | ||
| 544 | # Sets the number of codegen units to build the standard library with, | |
| 545 | # regardless of what the codegen-unit setting for the rest of the compiler is. | |
| 546 | # NOTE: building with anything other than 1 is known to occasionally have bugs. | |
| 547 | #codegen-units-std = codegen-units | |
| 548 | ||
| 549 | # Whether or not debug assertions are enabled for the compiler and standard library. | |
| 550 | # These can help find bugs at the cost of a small runtime slowdown. | |
| 551 | # | |
| 552 | # Defaults to rust.debug value | |
| 553 | #debug-assertions = rust.debug (boolean) | |
| 554 | ||
| 555 | # Whether or not debug assertions are enabled for the standard library. | |
| 556 | # Overrides the `debug-assertions` option, if defined. | |
| 557 | # | |
| 558 | # Defaults to rust.debug-assertions value | |
| 559 | #debug-assertions-std = rust.debug-assertions (boolean) | |
| 560 | ||
| 561 | # Whether or not to leave debug! and trace! calls in the rust binary. | |
| 562 | # | |
| 563 | # Defaults to rust.debug-assertions value | |
| 564 | # | |
| 565 | # If you see a message from `tracing` saying "some trace filter directives would enable traces that | |
| 566 | # are disabled statically" because `max_level_info` is enabled, set this value to `true`. | |
| 567 | #debug-logging = rust.debug-assertions (boolean) | |
| 568 | ||
| 569 | # Whether or not to build rustc, tools and the libraries with randomized type layout | |
| 570 | #randomize-layout = false | |
| 571 | ||
| 572 | # Whether or not overflow checks are enabled for the compiler and standard | |
| 573 | # library. | |
| 574 | # | |
| 575 | # Defaults to rust.debug value | |
| 576 | #overflow-checks = rust.debug (boolean) | |
| 577 | ||
| 578 | # Whether or not overflow checks are enabled for the standard library. | |
| 579 | # Overrides the `overflow-checks` option, if defined. | |
| 580 | # | |
| 581 | # Defaults to rust.overflow-checks value | |
| 582 | #overflow-checks-std = rust.overflow-checks (boolean) | |
| 583 | ||
| 584 | # Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`. | |
| 585 | # See https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo for available options. | |
| 586 | # | |
| 587 | # Can be overridden for specific subsets of Rust code (rustc, std or tools). | |
| 588 | # Debuginfo for tests run with compiletest is not controlled by this option | |
| 589 | # and needs to be enabled separately with `debuginfo-level-tests`. | |
| 590 | # | |
| 591 | # Note that debuginfo-level = 2 generates several gigabytes of debuginfo | |
| 592 | # and will slow down the linking process significantly. | |
| 593 | #debuginfo-level = if rust.debug { 1 } else { 0 } | |
| 594 | ||
| 595 | # Debuginfo level for the compiler. | |
| 596 | #debuginfo-level-rustc = rust.debuginfo-level | |
| 597 | ||
| 598 | # Debuginfo level for the standard library. | |
| 599 | #debuginfo-level-std = rust.debuginfo-level | |
| 600 | ||
| 601 | # Debuginfo level for the tools. | |
| 602 | #debuginfo-level-tools = rust.debuginfo-level | |
| 603 | ||
| 604 | # Debuginfo level for the test suites run with compiletest. | |
| 605 | # FIXME(#61117): Some tests fail when this option is enabled. | |
| 606 | #debuginfo-level-tests = 0 | |
| 607 | ||
| 608 | # Should rustc and the standard library be built with split debuginfo? Default | |
| 609 | # is platform dependent. | |
| 610 | # | |
| 611 | # This field is deprecated, use `target.<triple>.split-debuginfo` instead. | |
| 612 | # | |
| 613 | # The value specified here is only used when targeting the `build.build` triple, | |
| 614 | # and is overridden by `target.<triple>.split-debuginfo` if specified. | |
| 615 | # | |
| 616 | #split-debuginfo = see target.<triple>.split-debuginfo | |
| 617 | ||
| 618 | # Whether or not `panic!`s generate backtraces (RUST_BACKTRACE) | |
| 619 | #backtrace = true | |
| 620 | ||
| 621 | # Whether to always use incremental compilation when building rustc | |
| 622 | #incremental = false | |
| 623 | ||
| 624 | # The default linker that will be hard-coded into the generated | |
| 625 | # compiler for targets that don't specify a default linker explicitly | |
| 626 | # in their target specifications. Note that this is not the linker | |
| 627 | # used to link said compiler. It can also be set per-target (via the | |
| 628 | # `[target.<triple>]` block), which may be useful in a cross-compilation | |
| 629 | # setting. | |
| 630 | # | |
| 631 | # See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information. | |
| 632 | #default-linker = <none> (path) | |
| 633 | ||
| 634 | # The "channel" for the Rust build to produce. The stable/beta channels only | |
| 635 | # allow using stable features, whereas the nightly and dev channels allow using | |
| 636 | # nightly features. | |
| 637 | # | |
| 638 | # You can set the channel to "auto-detect" to load the channel name from `src/ci/channel`. | |
| 639 | # | |
| 640 | # If using tarball sources, default value is "auto-detect", otherwise, it's "dev". | |
| 641 | #channel = if "is a tarball source" { "auto-detect" } else { "dev" } | |
| 642 | ||
| 643 | # The root location of the musl installation directory. The library directory | |
| 644 | # will also need to contain libunwind.a for an unwinding implementation. Note | |
| 645 | # that this option only makes sense for musl targets that produce statically | |
| 646 | # linked binaries. | |
| 647 | # | |
| 648 | # Defaults to /usr on musl hosts. Has no default otherwise. | |
| 649 | #musl-root = <platform specific> (path) | |
| 650 | ||
| 651 | # By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix | |
| 652 | # platforms to ensure that the compiler is usable by default from the build | |
| 653 | # directory (as it links to a number of dynamic libraries). This may not be | |
| 654 | # desired in distributions, for example. | |
| 655 | #rpath = true | |
| 656 | ||
| 657 | # Indicates whether symbols should be stripped using `-Cstrip=symbols`. | |
| 658 | #strip = false | |
| 659 | ||
| 660 | # Forces frame pointers to be used with `-Cforce-frame-pointers`. | |
| 661 | # This can be helpful for profiling at a small performance cost. | |
| 662 | #frame-pointers = false | |
| 663 | ||
| 664 | # Indicates whether stack protectors should be used | |
| 665 | # via the unstable option `-Zstack-protector`. | |
| 666 | # | |
| 667 | # Valid options are : `none`(default),`basic`,`strong`, or `all`. | |
| 668 | # `strong` and `basic` options may be buggy and are not recommended, see rust-lang/rust#114903. | |
| 669 | #stack-protector = "none" | |
| 670 | ||
| 671 | # Prints each test name as it is executed, to help debug issues in the test harness itself. | |
| 672 | #verbose-tests = if is_verbose { true } else { false } | |
| 673 | ||
| 674 | # Flag indicating whether tests are compiled with optimizations (the -O flag). | |
| 675 | #optimize-tests = true | |
| 676 | ||
| 677 | # Flag indicating whether codegen tests will be run or not. If you get an error | |
| 678 | # saying that the FileCheck executable is missing, you may want to disable this. | |
| 679 | # Also see the target's llvm-filecheck option. | |
| 680 | #codegen-tests = true | |
| 681 | ||
| 682 | # Flag indicating whether git info will be retrieved from .git automatically. | |
| 683 | # Having the git information can cause a lot of rebuilds during development. | |
| 684 | #omit-git-hash = if rust.channel == "dev" { true } else { false } | |
| 685 | ||
| 686 | # Whether to create a source tarball by default when running `x dist`. | |
| 687 | # | |
| 688 | # You can still build a source tarball when this is disabled by explicitly passing `x dist rustc-src`. | |
| 689 | #dist-src = true | |
| 690 | ||
| 691 | # After building or testing an optional component (e.g. the nomicon or reference), append the | |
| 692 | # result (broken, compiling, testing) into this JSON file. | |
| 693 | #save-toolstates = <none> (path) | |
| 694 | ||
| 695 | # This is an array of the codegen backends that will be compiled for the rustc | |
| 696 | # that's being compiled. The default is to only build the LLVM codegen backend, | |
| 697 | # and currently the only standard options supported are `"llvm"`, `"cranelift"` | |
| 698 | # and `"gcc"`. The first backend in this list will be used as default by rustc | |
| 699 | # when no explicit backend is specified. | |
| 700 | #codegen-backends = ["llvm"] | |
| 701 | ||
| 702 | # Indicates whether LLD will be compiled and made available in the sysroot for rustc to execute, and | |
| 703 | # whether to set it as rustc's default linker on `x86_64-unknown-linux-gnu`. This will also only be | |
| 704 | # when *not* building an external LLVM (so only when using `download-ci-llvm` or building LLVM from | |
| 705 | # the in-tree source): setting `llvm-config` in the `[target.x86_64-unknown-linux-gnu]` section will | |
| 706 | # make this default to false. | |
| 707 | #lld = false in all cases, except on `x86_64-unknown-linux-gnu` as described above, where it is true | |
| 708 | ||
| 709 | # Indicates whether LLD will be used to link Rust crates during bootstrap on | |
| 710 | # supported platforms. | |
| 711 | # If set to `true` or `"external"`, a global `lld` binary that has to be in $PATH | |
| 712 | # will be used. | |
| 713 | # If set to `"self-contained"`, rust-lld from the snapshot compiler will be used. | |
| 714 | # | |
| 715 | # On MSVC, LLD will not be used if we're cross linking. | |
| 716 | # | |
| 717 | # Explicitly setting the linker for a target will override this option when targeting MSVC. | |
| 718 | #use-lld = false | |
| 719 | ||
| 720 | # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the | |
| 721 | # sysroot. | |
| 722 | #llvm-tools = true | |
| 723 | ||
| 724 | # Indicates whether the `self-contained` llvm-bitcode-linker, will be made available | |
| 725 | # in the sysroot. It is required for running nvptx tests. | |
| 726 | #llvm-bitcode-linker = false | |
| 727 | ||
| 728 | # Whether to deny warnings in crates | |
| 729 | #deny-warnings = true | |
| 730 | ||
| 731 | # Print backtrace on internal compiler errors during bootstrap | |
| 732 | #backtrace-on-ice = false | |
| 733 | ||
| 734 | # Whether to verify generated LLVM IR | |
| 735 | #verify-llvm-ir = false | |
| 736 | ||
| 737 | # Compile the compiler with a non-default ThinLTO import limit. This import | |
| 738 | # limit controls the maximum size of functions imported by ThinLTO. Decreasing | |
| 739 | # will make code compile faster at the expense of lower runtime performance. | |
| 740 | #thin-lto-import-instr-limit = if incremental { 10 } else { LLVM default (currently 100) } | |
| 741 | ||
| 742 | # Map debuginfo paths to `/rust/$sha/...`. | |
| 743 | # Useful for reproducible builds. Generally only set for releases | |
| 744 | #remap-debuginfo = false | |
| 745 | ||
| 746 | # Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. | |
| 747 | # This option is only tested on Linux and OSX. It can also be configured per-target in the | |
| 748 | # [target.<tuple>] section. | |
| 749 | #jemalloc = false | |
| 750 | ||
| 751 | # Run tests in various test suites with the "nll compare mode" in addition to | |
| 752 | # running the tests in normal mode. Largely only used on CI and during local | |
| 753 | # development of NLL | |
| 754 | #test-compare-mode = false | |
| 755 | ||
| 756 | # Global default for llvm-libunwind for all targets. See the target-specific | |
| 757 | # documentation for llvm-libunwind below. Note that the target-specific | |
| 758 | # option will override this if set. | |
| 759 | #llvm-libunwind = 'no' | |
| 760 | ||
| 761 | # Enable Windows Control Flow Guard checks in the standard library. | |
| 762 | # This only applies from stage 1 onwards, and only for Windows targets. | |
| 763 | #control-flow-guard = false | |
| 764 | ||
| 765 | # Enable Windows EHCont Guard checks in the standard library. | |
| 766 | # This only applies from stage 1 onwards, and only for Windows targets. | |
| 767 | #ehcont-guard = false | |
| 768 | ||
| 769 | # Enable symbol-mangling-version v0. This can be helpful when profiling rustc, | |
| 770 | # as generics will be preserved in symbols (rather than erased into opaque T). | |
| 771 | # When no setting is given, the new scheme will be used when compiling the | |
| 772 | # compiler and its tools and the legacy scheme will be used when compiling the | |
| 773 | # standard library. | |
| 774 | # If an explicit setting is given, it will be used for all parts of the codebase. | |
| 775 | #new-symbol-mangling = true|false (see comment) | |
| 776 | ||
| 777 | # Select LTO mode that will be used for compiling rustc. By default, thin local LTO | |
| 778 | # (LTO within a single crate) is used (like for any Rust crate). You can also select | |
| 779 | # "thin" or "fat" to apply Thin/Fat LTO to the `rustc_driver` dylib, or "off" to disable | |
| 780 | # LTO entirely. | |
| 781 | #lto = "thin-local" | |
| 782 | ||
| 783 | # Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std` | |
| 784 | #validate-mir-opts = 3 | |
| 785 | ||
| 786 | # Configure `std` features used during bootstrap. | |
| 787 | # | |
| 788 | # Default features will be expanded in the following cases: | |
| 789 | # - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled: | |
| 790 | # - "llvm-libunwind" will be added for in-tree LLVM builds. | |
| 791 | # - "system-llvm-libunwind" will be added for system LLVM builds. | |
| 792 | # - If `rust.backtrace` is enabled, "backtrace" will be added. | |
| 793 | # - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added. | |
| 794 | # - If building for a zkvm target, "compiler-builtins-mem" will be added. | |
| 795 | # | |
| 796 | # Since libstd also builds libcore and liballoc as dependencies and all their features are mirrored | |
| 797 | # as libstd features, this option can also be used to configure features such as optimize_for_size. | |
| 798 | #std-features = ["panic_unwind"] | |
| 799 | ||
| 800 | # ============================================================================= | |
| 801 | # Options for specific targets | |
| 802 | # | |
| 803 | # Each of the following options is scoped to the specific target triple in | |
| 804 | # question and is used for determining how to compile each target. | |
| 805 | # ============================================================================= | |
| 806 | [target.x86_64-unknown-linux-gnu] | |
| 807 | ||
| 808 | # C compiler to be used to compile C code. Note that the | |
| 809 | # default value is platform specific, and if not specified it may also depend on | |
| 810 | # what platform is crossing to what platform. | |
| 811 | # See `src/bootstrap/src/utils/cc_detect.rs` for details. | |
| 812 | #cc = "cc" (path) | |
| 813 | ||
| 814 | # C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims). | |
| 815 | # This is only used for host targets. | |
| 816 | # See `src/bootstrap/src/utils/cc_detect.rs` for details. | |
| 817 | #cxx = "c++" (path) | |
| 818 | ||
| 819 | # Archiver to be used to assemble static libraries compiled from C/C++ code. | |
| 820 | # Note: an absolute path should be used, otherwise LLVM build will break. | |
| 821 | #ar = "ar" (path) | |
| 822 | ||
| 823 | # Ranlib to be used to assemble static libraries compiled from C/C++ code. | |
| 824 | # Note: an absolute path should be used, otherwise LLVM build will break. | |
| 825 | #ranlib = "ranlib" (path) | |
| 826 | ||
| 827 | # Linker to be used to bootstrap Rust code. Note that the | |
| 828 | # default value is platform specific, and if not specified it may also depend on | |
| 829 | # what platform is crossing to what platform. | |
| 830 | # Setting this will override the `use-lld` option for Rust code when targeting MSVC. | |
| 831 | #linker = "cc" (path) | |
| 832 | ||
| 833 | # Should rustc and the standard library be built with split debuginfo? Default | |
| 834 | # is platform dependent. | |
| 835 | # | |
| 836 | # Valid values are the same as those accepted by `-C split-debuginfo` | |
| 837 | # (`off`/`unpacked`/`packed`). | |
| 838 | # | |
| 839 | # On Linux, split debuginfo is disabled by default. | |
| 840 | # | |
| 841 | # On Apple platforms, unpacked split debuginfo is used by default. Unpacked | |
| 842 | # debuginfo does not run `dsymutil`, which packages debuginfo from disparate | |
| 843 | # object files into a single `.dSYM` file. `dsymutil` adds time to builds for | |
| 844 | # no clear benefit, and also makes it more difficult for debuggers to find | |
| 845 | # debug info. The compiler currently defaults to running `dsymutil` to preserve | |
| 846 | # its historical default, but when compiling the compiler itself, we skip it by | |
| 847 | # default since we know it's safe to do so in that case. | |
| 848 | # | |
| 849 | # On Windows platforms, packed debuginfo is the only supported option, | |
| 850 | # producing a `.pdb` file. | |
| 851 | #split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } | |
| 852 | ||
| 853 | # Path to the `llvm-config` binary of the installation of a custom LLVM to link | |
| 854 | # against. Note that if this is specified we don't compile LLVM at all for this | |
| 855 | # target. | |
| 856 | #llvm-config = <none> (path) | |
| 857 | ||
| 858 | # Override detection of whether this is a Rust-patched LLVM. This would be used | |
| 859 | # in conjunction with either an llvm-config or build.submodules = false. | |
| 860 | #llvm-has-rust-patches = if llvm-config { false } else { true } | |
| 861 | ||
| 862 | # Normally the build system can find LLVM's FileCheck utility, but if | |
| 863 | # not, you can specify an explicit file name for it. | |
| 864 | #llvm-filecheck = "/path/to/llvm-version/bin/FileCheck" | |
| 865 | ||
| 866 | # Use LLVM libunwind as the implementation for Rust's unwinder. | |
| 867 | # Accepted values are 'in-tree' (formerly true), 'system' or 'no' (formerly false). | |
| 868 | # This option only applies for Linux and Fuchsia targets. | |
| 869 | # On Linux target, if crt-static is not enabled, 'no' means dynamic link to | |
| 870 | # `libgcc_s.so`, 'in-tree' means static link to the in-tree build of llvm libunwind | |
| 871 | # and 'system' means dynamic link to `libunwind.so`. If crt-static is enabled, | |
| 872 | # the behavior is depend on the libc. On musl target, 'no' and 'in-tree' both | |
| 873 | # means static link to the in-tree build of llvm libunwind, and 'system' means | |
| 874 | # static link to `libunwind.a` provided by system. Due to the limitation of glibc, | |
| 875 | # it must link to `libgcc_eh.a` to get a working output, and this option have no effect. | |
| 876 | #llvm-libunwind = 'no' if Linux, 'in-tree' if Fuchsia | |
| 877 | ||
| 878 | # Build the sanitizer runtimes for this target. | |
| 879 | # This option will override the same option under [build] section. | |
| 880 | #sanitizers = build.sanitizers (bool) | |
| 881 | ||
| 882 | # When true, build the profiler runtime for this target (required when compiling | |
| 883 | # with options that depend on this runtime, such as `-C profile-generate` or | |
| 884 | # `-C instrument-coverage`). This may also be given a path to an existing build | |
| 885 | # of the profiling runtime library from LLVM's compiler-rt. | |
| 886 | # This option will override the same option under [build] section. | |
| 887 | #profiler = build.profiler (bool) | |
| 888 | ||
| 889 | # This option supports enable `rpath` in each target independently, | |
| 890 | # and will override the same option under [rust] section. It only works on Unix platforms | |
| 891 | #rpath = rust.rpath (bool) | |
| 892 | ||
| 893 | # Force static or dynamic linkage of the standard library for this target. If | |
| 894 | # this target is a host for rustc, this will also affect the linkage of the | |
| 895 | # compiler itself. This is useful for building rustc on targets that normally | |
| 896 | # only use static libraries. If unset, the target's default linkage is used. | |
| 897 | #crt-static = <platform-specific> (bool) | |
| 898 | ||
| 899 | # The root location of the musl installation directory. The library directory | |
| 900 | # will also need to contain libunwind.a for an unwinding implementation. Note | |
| 901 | # that this option only makes sense for musl targets that produce statically | |
| 902 | # linked binaries. | |
| 903 | #musl-root = build.musl-root (path) | |
| 904 | ||
| 905 | # The full path to the musl libdir. | |
| 906 | #musl-libdir = musl-root/lib | |
| 907 | ||
| 908 | # The root location of the `wasm32-wasip1` sysroot. Only used for WASI | |
| 909 | # related targets. Make sure to create a `[target.wasm32-wasip1]` | |
| 910 | # section and move this field there (or equivalent for the target being built). | |
| 911 | #wasi-root = <none> (path) | |
| 912 | ||
| 913 | # Used in testing for configuring where the QEMU images are located, you | |
| 914 | # probably don't want to use this. | |
| 915 | #qemu-rootfs = <none> (path) | |
| 916 | ||
| 917 | # Skip building the `std` library for this target. Enabled by default for | |
| 918 | # target triples containing `-none`, `nvptx`, `switch`, or `-uefi`. | |
| 919 | #no-std = <platform-specific> (bool) | |
| 920 | ||
| 921 | # This is an array of the codegen backends that will be | |
| 922 | # compiled for this target, overriding the global rust.codegen-backends option. | |
| 923 | # See that option for more info. | |
| 924 | #codegen-backends = rust.codegen-backends (array) | |
| 925 | ||
| 926 | # This is a "runner" to pass to `compiletest` when executing tests. Tests will | |
| 927 | # execute this tool where the binary-to-test is passed as an argument. Can | |
| 928 | # be useful for situations such as when WebAssembly is being tested and a | |
| 929 | # runtime needs to be configured. This value is similar to | |
| 930 | # Cargo's `CARGO_$target_RUNNER` configuration. | |
| 931 | # | |
| 932 | # This configuration is a space-separated list of arguments so `foo bar` would | |
| 933 | # execute the program `foo` with the first argument as `bar` and the second | |
| 934 | # argument as the test binary. | |
| 935 | #runner = <none> (string) | |
| 936 | ||
| 937 | # Use the optimized LLVM C intrinsics for `compiler_builtins`, rather than Rust intrinsics | |
| 938 | # on this target. | |
| 939 | # Requires the LLVM submodule to be managed by bootstrap (i.e. not external) so that `compiler-rt` | |
| 940 | # sources are available. | |
| 941 | # | |
| 942 | # Setting this to `false` generates slower code, but removes the requirement for a C toolchain in | |
| 943 | # order to run `x check`. | |
| 944 | #optimized-compiler-builtins = build.optimized-compiler-builtins (bool) | |
| 945 | ||
| 946 | # Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. | |
| 947 | # This overrides the global `rust.jemalloc` option. See that option for more info. | |
| 948 | #jemalloc = rust.jemalloc (bool) | |
| 949 | ||
| 950 | # ============================================================================= | |
| 951 | # Distribution options | |
| 952 | # | |
| 953 | # These options are related to distribution, mostly for the Rust project itself. | |
| 954 | # You probably won't need to concern yourself with any of these options | |
| 955 | # ============================================================================= | |
| 956 | [dist] | |
| 957 | ||
| 958 | # This is the folder of artifacts that the build system will sign. All files in | |
| 959 | # this directory will be signed with the default gpg key using the system `gpg` | |
| 960 | # binary. The `asc` and `sha256` files will all be output into the standard dist | |
| 961 | # output folder (currently `build/dist`) | |
| 962 | # | |
| 963 | # This folder should be populated ahead of time before the build system is | |
| 964 | # invoked. | |
| 965 | #sign-folder = <none> (path) | |
| 966 | ||
| 967 | # The remote address that all artifacts will eventually be uploaded to. The | |
| 968 | # build system generates manifests which will point to these urls, and for the | |
| 969 | # manifests to be correct they'll have to have the right URLs encoded. | |
| 970 | # | |
| 971 | # Note that this address should not contain a trailing slash as file names will | |
| 972 | # be appended to it. | |
| 973 | #upload-addr = <none> (URL) | |
| 974 | ||
| 975 | # Whether to build a plain source tarball to upload | |
| 976 | # We disable that on Windows not to override the one already uploaded on S3 | |
| 977 | # as the one built on Windows will contain backslashes in paths causing problems | |
| 978 | # on linux | |
| 979 | #src-tarball = true | |
| 980 | ||
| 981 | # List of compression formats to use when generating dist tarballs. The list of | |
| 982 | # formats is provided to rust-installer, which must support all of them. | |
| 983 | # | |
| 984 | # This list must be non-empty. | |
| 985 | #compression-formats = ["gz", "xz"] | |
| 986 | ||
| 987 | # How much time should be spent compressing the tarballs. The better the | |
| 988 | # compression profile, the longer compression will take. | |
| 989 | # | |
| 990 | # Available options: fast, balanced, best | |
| 991 | #compression-profile = "fast" | |
| 992 | ||
| 993 | # Copy the linker, DLLs, and various libraries from MinGW into the Rust toolchain. | |
| 994 | # Only applies when the host or target is pc-windows-gnu. | |
| 995 | #include-mingw-linker = true | |
| 996 | ||
| 997 | # Whether to vendor dependencies for the dist tarball. | |
| 998 | #vendor = if "is a tarball source" || "is a git repository" { true } else { false } |
compiler/rustc_session/src/options.rs+1-1| ... | ... | @@ -389,7 +389,7 @@ top_level_options!( |
| 389 | 389 | /// |
| 390 | 390 | /// This directory is what the virtual `/rustc/$hash` is translated back to, |
| 391 | 391 | /// if Rust was built with path remapping to `/rustc/$hash` enabled |
| 392 | /// (the `rust.remap-debuginfo` option in `config.toml`). | |
| 392 | /// (the `rust.remap-debuginfo` option in `bootstrap.toml`). | |
| 393 | 393 | real_rust_source_base_dir: Option<PathBuf> [TRACKED_NO_CRATE_HASH], |
| 394 | 394 | |
| 395 | 395 | edition: Edition [TRACKED], |
config.example.toml deleted-998| ... | ... | @@ -1,998 +0,0 @@ |
| 1 | # Sample TOML configuration file for building Rust. | |
| 2 | # | |
| 3 | # To configure bootstrap, run `./configure` or `./x.py setup`. | |
| 4 | # See https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#create-a-configtoml for more information. | |
| 5 | # | |
| 6 | # All options are commented out by default in this file, and they're commented | |
| 7 | # out with their default values. The build system by default looks for | |
| 8 | # `config.toml` in the current directory of a build for build configuration, but | |
| 9 | # a custom configuration file can also be specified with `--config` to the build | |
| 10 | # system. | |
| 11 | ||
| 12 | # ============================================================================= | |
| 13 | # Global Settings | |
| 14 | # ============================================================================= | |
| 15 | ||
| 16 | # Use different pre-set defaults than the global defaults. | |
| 17 | # | |
| 18 | # See `src/bootstrap/defaults` for more information. | |
| 19 | # Note that this has no default value (x.py uses the defaults in `config.example.toml`). | |
| 20 | #profile = <none> | |
| 21 | ||
| 22 | # Keeps track of major changes made to this configuration. | |
| 23 | # | |
| 24 | # This value also represents ID of the PR that caused major changes. Meaning, | |
| 25 | # you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details. | |
| 26 | # | |
| 27 | # A 'major change' includes any of the following | |
| 28 | # - A new option | |
| 29 | # - A change in the default values | |
| 30 | # | |
| 31 | # If `change-id` does not match the version that is currently running, | |
| 32 | # `x.py` will inform you about the changes made on bootstrap. | |
| 33 | #change-id = <latest change id in src/bootstrap/src/utils/change_tracker.rs> | |
| 34 | ||
| 35 | # ============================================================================= | |
| 36 | # Tweaking how LLVM is compiled | |
| 37 | # ============================================================================= | |
| 38 | [llvm] | |
| 39 | ||
| 40 | # Whether to use Rust CI built LLVM instead of locally building it. | |
| 41 | # | |
| 42 | # Unless you're developing for a target where Rust CI doesn't build a compiler | |
| 43 | # toolchain or changing LLVM locally, you probably want to leave this enabled. | |
| 44 | # | |
| 45 | # Set this to `true` to download if CI llvm available otherwise it builds | |
| 46 | # from `src/llvm-project`. | |
| 47 | # | |
| 48 | # Set this to `"if-unchanged"` to download only if the llvm-project has not | |
| 49 | # been modified. You can also use this if you are unsure whether you're on a | |
| 50 | # tier 1 target. All tier 1 targets are currently supported. | |
| 51 | ||
| 52 | # Currently, we only support this when building LLVM for the build triple. | |
| 53 | # | |
| 54 | # Note that many of the LLVM options are not currently supported for | |
| 55 | # downloading. Currently only the "assertions" option can be toggled. | |
| 56 | #download-ci-llvm = true | |
| 57 | ||
| 58 | # Indicates whether the LLVM build is a Release or Debug build | |
| 59 | #optimize = true | |
| 60 | ||
| 61 | # Indicates whether LLVM should be built with ThinLTO. Note that this will | |
| 62 | # only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ | |
| 63 | # toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below). | |
| 64 | # More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap | |
| 65 | #thin-lto = false | |
| 66 | ||
| 67 | # Indicates whether an LLVM Release build should include debug info | |
| 68 | #release-debuginfo = false | |
| 69 | ||
| 70 | # Indicates whether the LLVM assertions are enabled or not | |
| 71 | # NOTE: When assertions are disabled, bugs in the integration between rustc and LLVM can lead to | |
| 72 | # unsoundness (segfaults, etc.) in the rustc process itself, not just in the generated code. | |
| 73 | #assertions = false | |
| 74 | ||
| 75 | # Indicates whether the LLVM testsuite is enabled in the build or not. Does | |
| 76 | # not execute the tests as part of the build as part of x.py build et al, | |
| 77 | # just makes it possible to do `ninja check-llvm` in the staged LLVM build | |
| 78 | # directory when doing LLVM development as part of Rust development. | |
| 79 | #tests = false | |
| 80 | ||
| 81 | # Indicates whether the LLVM plugin is enabled or not | |
| 82 | #plugins = false | |
| 83 | ||
| 84 | # Whether to build Enzyme as AutoDiff backend. | |
| 85 | #enzyme = false | |
| 86 | ||
| 87 | # Whether to build LLVM with support for it's gpu offload runtime. | |
| 88 | #offload = false | |
| 89 | ||
| 90 | # When true, link libstdc++ statically into the rustc_llvm. | |
| 91 | # This is useful if you don't want to use the dynamic version of that | |
| 92 | # library provided by LLVM. | |
| 93 | #static-libstdcpp = false | |
| 94 | ||
| 95 | # Enable LLVM to use zstd for compression. | |
| 96 | #libzstd = false | |
| 97 | ||
| 98 | # Whether to use Ninja to build LLVM. This runs much faster than make. | |
| 99 | #ninja = true | |
| 100 | ||
| 101 | # LLVM targets to build support for. | |
| 102 | # Note: this is NOT related to Rust compilation targets. However, as Rust is | |
| 103 | # dependent on LLVM for code generation, turning targets off here WILL lead to | |
| 104 | # the resulting rustc being unable to compile for the disabled architectures. | |
| 105 | # | |
| 106 | # To add support for new targets, see https://rustc-dev-guide.rust-lang.org/building/new-target.html. | |
| 107 | #targets = "AArch64;AMDGPU;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" | |
| 108 | ||
| 109 | # LLVM experimental targets to build support for. These targets are specified in | |
| 110 | # the same format as above, but since these targets are experimental, they are | |
| 111 | # not built by default and the experimental Rust compilation targets that depend | |
| 112 | # on them will not work unless the user opts in to building them. | |
| 113 | #experimental-targets = "AVR;M68k;CSKY" | |
| 114 | ||
| 115 | # Cap the number of parallel linker invocations when compiling LLVM. | |
| 116 | # This can be useful when building LLVM with debug info, which significantly | |
| 117 | # increases the size of binaries and consequently the memory required by | |
| 118 | # each linker process. | |
| 119 | # If set to 0, linker invocations are treated like any other job and | |
| 120 | # controlled by bootstrap's -j parameter. | |
| 121 | #link-jobs = 0 | |
| 122 | ||
| 123 | # Whether to build LLVM as a dynamically linked library (as opposed to statically linked). | |
| 124 | # Under the hood, this passes `--shared` to llvm-config. | |
| 125 | # NOTE: To avoid performing LTO multiple times, we suggest setting this to `true` when `thin-lto` is enabled. | |
| 126 | #link-shared = llvm.thin-lto | |
| 127 | ||
| 128 | # When building llvm, this configures what is being appended to the version. | |
| 129 | # To use LLVM version as is, provide an empty string. | |
| 130 | #version-suffix = if rust.channel == "dev" { "-rust-dev" } else { "-rust-$version-$channel" } | |
| 131 | ||
| 132 | # On MSVC you can compile LLVM with clang-cl, but the test suite doesn't pass | |
| 133 | # with clang-cl, so this is special in that it only compiles LLVM with clang-cl. | |
| 134 | # Note that this takes a /path/to/clang-cl, not a boolean. | |
| 135 | #clang-cl = cc | |
| 136 | ||
| 137 | # Pass extra compiler and linker flags to the LLVM CMake build. | |
| 138 | #cflags = "" | |
| 139 | #cxxflags = "" | |
| 140 | #ldflags = "" | |
| 141 | ||
| 142 | # Use libc++ when building LLVM instead of libstdc++. This is the default on | |
| 143 | # platforms already use libc++ as the default C++ library, but this option | |
| 144 | # allows you to use libc++ even on platforms when it's not. You need to ensure | |
| 145 | # that your host compiler ships with libc++. | |
| 146 | #use-libcxx = false | |
| 147 | ||
| 148 | # The value specified here will be passed as `-DLLVM_USE_LINKER` to CMake. | |
| 149 | #use-linker = <none> (path) | |
| 150 | ||
| 151 | # Whether or not to specify `-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=YES` | |
| 152 | #allow-old-toolchain = false | |
| 153 | ||
| 154 | # Whether to include the Polly optimizer. | |
| 155 | #polly = false | |
| 156 | ||
| 157 | # Whether to build the clang compiler. | |
| 158 | #clang = false | |
| 159 | ||
| 160 | # Whether to enable llvm compilation warnings. | |
| 161 | #enable-warnings = false | |
| 162 | ||
| 163 | # Custom CMake defines to set when building LLVM. | |
| 164 | #build-config = {} | |
| 165 | ||
| 166 | # ============================================================================= | |
| 167 | # Tweaking how GCC is compiled | |
| 168 | # ============================================================================= | |
| 169 | [gcc] | |
| 170 | # Download GCC from CI instead of building it locally. | |
| 171 | # Note that this will attempt to download GCC even if there are local | |
| 172 | # modifications to the `src/gcc` submodule. | |
| 173 | # Currently, this is only supported for the `x86_64-unknown-linux-gnu` target. | |
| 174 | # download-ci-gcc = false | |
| 175 | ||
| 176 | # ============================================================================= | |
| 177 | # General build configuration options | |
| 178 | # ============================================================================= | |
| 179 | [build] | |
| 180 | ||
| 181 | # The default stage to use for the `check` subcommand | |
| 182 | #check-stage = 0 | |
| 183 | ||
| 184 | # The default stage to use for the `doc` subcommand | |
| 185 | #doc-stage = 0 | |
| 186 | ||
| 187 | # The default stage to use for the `build` subcommand | |
| 188 | #build-stage = 1 | |
| 189 | ||
| 190 | # The default stage to use for the `test` subcommand | |
| 191 | #test-stage = 1 | |
| 192 | ||
| 193 | # The default stage to use for the `dist` subcommand | |
| 194 | #dist-stage = 2 | |
| 195 | ||
| 196 | # The default stage to use for the `install` subcommand | |
| 197 | #install-stage = 2 | |
| 198 | ||
| 199 | # The default stage to use for the `bench` subcommand | |
| 200 | #bench-stage = 2 | |
| 201 | ||
| 202 | # A descriptive string to be appended to version output (e.g., `rustc --version`), | |
| 203 | # which is also used in places like debuginfo `DW_AT_producer`. This may be useful for | |
| 204 | # supplementary build information, like distro-specific package versions. | |
| 205 | # | |
| 206 | # The Rust compiler will differentiate between versions of itself, including | |
| 207 | # based on this string, which means that if you wish to be compatible with | |
| 208 | # upstream Rust you need to set this to "". However, note that if you set this to "" but | |
| 209 | # are not actually compatible -- for example if you've backported patches that change | |
| 210 | # behavior -- this may lead to miscompilations or other bugs. | |
| 211 | #description = "" | |
| 212 | ||
| 213 | # Build triple for the pre-compiled snapshot compiler. If `rustc` is set, this must match its host | |
| 214 | # triple (see `rustc --version --verbose`; cross-compiling the rust build system itself is NOT | |
| 215 | # supported). If `rustc` is unset, this must be a platform with pre-compiled host tools | |
| 216 | # (https://doc.rust-lang.org/nightly/rustc/platform-support.html). The current platform must be | |
| 217 | # able to run binaries of this build triple. | |
| 218 | # | |
| 219 | # If `rustc` is present in path, this defaults to the host it was compiled for. | |
| 220 | # Otherwise, `x.py` will try to infer it from the output of `uname`. | |
| 221 | # If `uname` is not found in PATH, we assume this is `x86_64-pc-windows-msvc`. | |
| 222 | # This may be changed in the future. | |
| 223 | #build = "x86_64-unknown-linux-gnu" (as an example) | |
| 224 | ||
| 225 | # Which triples to produce a compiler toolchain for. Each of these triples will be bootstrapped from | |
| 226 | # the build triple themselves. In other words, this is the list of triples for which to build a | |
| 227 | # compiler that can RUN on that triple. | |
| 228 | # | |
| 229 | # Defaults to just the `build` triple. | |
| 230 | #host = [build.build] (list of triples) | |
| 231 | ||
| 232 | # Which triples to build libraries (core/alloc/std/test/proc_macro) for. Each of these triples will | |
| 233 | # be bootstrapped from the build triple themselves. In other words, this is the list of triples for | |
| 234 | # which to build a library that can CROSS-COMPILE to that triple. | |
| 235 | # | |
| 236 | # Defaults to `host`. If you set this explicitly, you likely want to add all | |
| 237 | # host triples to this list as well in order for those host toolchains to be | |
| 238 | # able to compile programs for their native target. | |
| 239 | #target = build.host (list of triples) | |
| 240 | ||
| 241 | # Use this directory to store build artifacts. Paths are relative to the current directory, not to | |
| 242 | # the root of the repository. | |
| 243 | #build-dir = "build" | |
| 244 | ||
| 245 | # Instead of downloading the src/stage0 version of Cargo specified, use | |
| 246 | # this Cargo binary instead to build all Rust code | |
| 247 | # If you set this, you likely want to set `rustc` as well. | |
| 248 | #cargo = "/path/to/cargo" | |
| 249 | ||
| 250 | # Instead of downloading the src/stage0 version of the compiler | |
| 251 | # specified, use this rustc binary instead as the stage0 snapshot compiler. | |
| 252 | # If you set this, you likely want to set `cargo` as well. | |
| 253 | #rustc = "/path/to/rustc" | |
| 254 | ||
| 255 | # Instead of downloading the src/stage0 version of rustfmt specified, | |
| 256 | # use this rustfmt binary instead as the stage0 snapshot rustfmt. | |
| 257 | #rustfmt = "/path/to/rustfmt" | |
| 258 | ||
| 259 | # Instead of downloading the src/stage0 version of cargo-clippy specified, | |
| 260 | # use this cargo-clippy binary instead as the stage0 snapshot cargo-clippy. | |
| 261 | # | |
| 262 | # Note that this option should be used with the same toolchain as the `rustc` option above. | |
| 263 | # Otherwise, clippy is likely to fail due to a toolchain conflict. | |
| 264 | #cargo-clippy = "/path/to/cargo-clippy" | |
| 265 | ||
| 266 | # Whether to build documentation by default. If false, rustdoc and | |
| 267 | # friends will still be compiled but they will not be used to generate any | |
| 268 | # documentation. | |
| 269 | # | |
| 270 | # You can still build documentation when this is disabled by explicitly passing paths, | |
| 271 | # e.g. `x doc library`. | |
| 272 | #docs = true | |
| 273 | ||
| 274 | # Flag to specify whether CSS, JavaScript, and HTML are minified when | |
| 275 | # docs are generated. JSON is always minified, because it's enormous, | |
| 276 | # and generated in already-minified form from the beginning. | |
| 277 | #docs-minification = true | |
| 278 | ||
| 279 | # Flag to specify whether private items should be included in the library docs. | |
| 280 | #library-docs-private-items = false | |
| 281 | ||
| 282 | # Indicate whether to build compiler documentation by default. | |
| 283 | # You can still build documentation when this is disabled by explicitly passing a path: `x doc compiler`. | |
| 284 | #compiler-docs = false | |
| 285 | ||
| 286 | # Indicate whether git submodules are managed and updated automatically. | |
| 287 | #submodules = true | |
| 288 | ||
| 289 | # The path to (or name of) the GDB executable to use. This is only used for | |
| 290 | # executing the debuginfo test suite. | |
| 291 | #gdb = "gdb" | |
| 292 | ||
| 293 | # The path to (or name of) the LLDB executable to use. This is only used for | |
| 294 | # executing the debuginfo test suite. | |
| 295 | #lldb = "lldb" | |
| 296 | ||
| 297 | # The node.js executable to use. Note that this is only used for the emscripten | |
| 298 | # target when running tests, otherwise this can be omitted. | |
| 299 | #nodejs = "node" | |
| 300 | ||
| 301 | # The npm executable to use. Note that this is used for rustdoc-gui tests, | |
| 302 | # otherwise this can be omitted. | |
| 303 | # | |
| 304 | # Under Windows this should be `npm.cmd` or path to it (verified on nodejs v18.06), or | |
| 305 | # error will be emitted. | |
| 306 | #npm = "npm" | |
| 307 | ||
| 308 | # Python interpreter to use for various tasks throughout the build, notably | |
| 309 | # rustdoc tests, the lldb python interpreter, and some dist bits and pieces. | |
| 310 | # | |
| 311 | # Defaults to the Python interpreter used to execute x.py. | |
| 312 | #python = "python" | |
| 313 | ||
| 314 | # The path to the REUSE executable to use. Note that REUSE is not required in | |
| 315 | # most cases, as our tooling relies on a cached (and shrunk) copy of the | |
| 316 | # REUSE output present in the git repository and in our source tarballs. | |
| 317 | # | |
| 318 | # REUSE is only needed if your changes caused the overall licensing of the | |
| 319 | # repository to change, and the cached copy has to be regenerated. | |
| 320 | # | |
| 321 | # Defaults to the "reuse" command in the system path. | |
| 322 | #reuse = "reuse" | |
| 323 | ||
| 324 | # Force Cargo to check that Cargo.lock describes the precise dependency | |
| 325 | # set that all the Cargo.toml files create, instead of updating it. | |
| 326 | #locked-deps = false | |
| 327 | ||
| 328 | # Indicate whether the vendored sources are used for Rust dependencies or not. | |
| 329 | # | |
| 330 | # Vendoring requires additional setup. We recommend using the pre-generated source tarballs if you | |
| 331 | # want to use vendoring. See https://forge.rust-lang.org/infra/other-installation-methods.html#source-code. | |
| 332 | #vendor = if "is a tarball source" && "vendor" dir exists && ".cargo/config.toml" file exists { true } else { false } | |
| 333 | ||
| 334 | # Typically the build system will build the Rust compiler twice. The second | |
| 335 | # compiler, however, will simply use its own libraries to link against. If you | |
| 336 | # would rather to perform a full bootstrap, compiling the compiler three times, | |
| 337 | # then you can set this option to true. | |
| 338 | # | |
| 339 | # This is only useful for verifying that rustc generates reproducible builds. | |
| 340 | #full-bootstrap = false | |
| 341 | ||
| 342 | # Set the bootstrap/download cache path. It is useful when building rust | |
| 343 | # repeatedly in a CI environment. | |
| 344 | #bootstrap-cache-path = /path/to/shared/cache | |
| 345 | ||
| 346 | # Enable a build of the extended Rust tool set which is not only the compiler | |
| 347 | # but also tools such as Cargo. This will also produce "combined installers" | |
| 348 | # which are used to install Rust and Cargo together. | |
| 349 | # The `tools` (check `config.example.toml` to see its default value) option specifies | |
| 350 | # which tools should be built if `extended = true`. | |
| 351 | # | |
| 352 | # This is disabled by default. | |
| 353 | #extended = false | |
| 354 | ||
| 355 | # Set of tools to be included in the installation. | |
| 356 | # | |
| 357 | # If `extended = false`, the only one of these built by default is rustdoc. | |
| 358 | # | |
| 359 | # If `extended = true`, they are all included. | |
| 360 | # | |
| 361 | # If any enabled tool fails to build, the installation fails. | |
| 362 | #tools = [ | |
| 363 | # "cargo", | |
| 364 | # "clippy", | |
| 365 | # "rustdoc", | |
| 366 | # "rustfmt", | |
| 367 | # "rust-analyzer", | |
| 368 | # "rust-analyzer-proc-macro-srv", | |
| 369 | # "analysis", | |
| 370 | # "src", | |
| 371 | # "wasm-component-ld", | |
| 372 | # "miri", "cargo-miri" # for dev/nightly channels | |
| 373 | #] | |
| 374 | ||
| 375 | # Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose, 3 == print environment variables on each rustc invocation | |
| 376 | #verbose = 0 | |
| 377 | ||
| 378 | # Build the sanitizer runtimes | |
| 379 | #sanitizers = false | |
| 380 | ||
| 381 | # Build the profiler runtime (required when compiling with options that depend | |
| 382 | # on this runtime, such as `-C profile-generate` or `-C instrument-coverage`). | |
| 383 | #profiler = false | |
| 384 | ||
| 385 | # Use the optimized LLVM C intrinsics for `compiler_builtins`, rather than Rust intrinsics. | |
| 386 | # Requires the LLVM submodule to be managed by bootstrap (i.e. not external) so that `compiler-rt` | |
| 387 | # sources are available. | |
| 388 | # | |
| 389 | # Setting this to `false` generates slower code, but removes the requirement for a C toolchain in | |
| 390 | # order to run `x check`. | |
| 391 | #optimized-compiler-builtins = if rust.channel == "dev" { false } else { true } | |
| 392 | ||
| 393 | # Indicates whether the native libraries linked into Cargo will be statically | |
| 394 | # linked or not. | |
| 395 | #cargo-native-static = false | |
| 396 | ||
| 397 | # Run the build with low priority, by setting the process group's "nice" value | |
| 398 | # to +10 on Unix platforms, and by using a "low priority" job object on Windows. | |
| 399 | #low-priority = false | |
| 400 | ||
| 401 | # Arguments passed to the `./configure` script, used during distcheck. You | |
| 402 | # probably won't fill this in but rather it's filled in by the `./configure` | |
| 403 | # script. Useful for debugging. | |
| 404 | #configure-args = [] | |
| 405 | ||
| 406 | # Indicates that a local rebuild is occurring instead of a full bootstrap, | |
| 407 | # essentially skipping stage0 as the local compiler is recompiling itself again. | |
| 408 | # Useful for modifying only the stage2 compiler without having to pass `--keep-stage 0` each time. | |
| 409 | #local-rebuild = false | |
| 410 | ||
| 411 | # Print out how long each bootstrap step took (mostly intended for CI and | |
| 412 | # tracking over time) | |
| 413 | #print-step-timings = false | |
| 414 | ||
| 415 | # Print out resource usage data for each bootstrap step, as defined by the Unix | |
| 416 | # struct rusage. (Note that this setting is completely unstable: the data it | |
| 417 | # captures, what platforms it supports, the format of its associated output, and | |
| 418 | # this setting's very existence, are all subject to change.) | |
| 419 | #print-step-rusage = false | |
| 420 | ||
| 421 | # Always patch binaries for usage with Nix toolchains. If `true` then binaries | |
| 422 | # will be patched unconditionally. If `false` or unset, binaries will be patched | |
| 423 | # only if the current distribution is NixOS. This option is useful when using | |
| 424 | # a Nix toolchain on non-NixOS distributions. | |
| 425 | #patch-binaries-for-nix = false | |
| 426 | ||
| 427 | # Collect information and statistics about the current build, and write it to | |
| 428 | # disk. Enabling this has no impact on the resulting build output. The | |
| 429 | # schema of the file generated by the build metrics feature is unstable, and | |
| 430 | # this is not intended to be used during local development. | |
| 431 | #metrics = false | |
| 432 | ||
| 433 | # Specify the location of the Android NDK. Used when targeting Android. | |
| 434 | #android-ndk = "/path/to/android-ndk-r26d" | |
| 435 | ||
| 436 | # Number of parallel jobs to be used for building and testing. If set to `0` or | |
| 437 | # omitted, it will be automatically determined. This is the `-j`/`--jobs` flag | |
| 438 | # passed to cargo invocations. | |
| 439 | #jobs = 0 | |
| 440 | ||
| 441 | # What custom diff tool to use for displaying compiletest tests. | |
| 442 | #compiletest-diff-tool = <none> | |
| 443 | ||
| 444 | # Indicates whether ccache is used when building certain artifacts (e.g. LLVM). | |
| 445 | # Set to `true` to use the first `ccache` in PATH, or set an absolute path to use | |
| 446 | # a specific version. | |
| 447 | #ccache = false | |
| 448 | ||
| 449 | # List of paths to exclude from the build and test processes. | |
| 450 | # For example, exclude = ["tests/ui", "src/tools/tidy"]. | |
| 451 | #exclude = [] | |
| 452 | ||
| 453 | # ============================================================================= | |
| 454 | # General install configuration options | |
| 455 | # ============================================================================= | |
| 456 | [install] | |
| 457 | ||
| 458 | # Where to install the generated toolchain. Must be an absolute path. | |
| 459 | #prefix = "/usr/local" | |
| 460 | ||
| 461 | # Where to install system configuration files. | |
| 462 | # If this is a relative path, it will get installed in `prefix` above | |
| 463 | #sysconfdir = "/etc" | |
| 464 | ||
| 465 | # Where to install documentation in `prefix` above | |
| 466 | #docdir = "share/doc/rust" | |
| 467 | ||
| 468 | # Where to install binaries in `prefix` above | |
| 469 | #bindir = "bin" | |
| 470 | ||
| 471 | # Where to install libraries in `prefix` above | |
| 472 | #libdir = "lib" | |
| 473 | ||
| 474 | # Where to install man pages in `prefix` above | |
| 475 | #mandir = "share/man" | |
| 476 | ||
| 477 | # Where to install data in `prefix` above | |
| 478 | #datadir = "share" | |
| 479 | ||
| 480 | # ============================================================================= | |
| 481 | # Options for compiling Rust code itself | |
| 482 | # ============================================================================= | |
| 483 | [rust] | |
| 484 | ||
| 485 | # Whether or not to optimize when compiling the compiler and standard library, | |
| 486 | # and what level of optimization to use. | |
| 487 | # WARNING: Building with optimize = false is NOT SUPPORTED. Due to bootstrapping, | |
| 488 | # building without optimizations takes much longer than optimizing. Further, some platforms | |
| 489 | # fail to build without this optimization (c.f. #65352). | |
| 490 | # The valid options are: | |
| 491 | # true - Enable optimizations. | |
| 492 | # false - Disable optimizations. | |
| 493 | # 0 - Disable optimizations. | |
| 494 | # 1 - Basic optimizations. | |
| 495 | # 2 - Some optimizations. | |
| 496 | # 3 - All optimizations. | |
| 497 | # "s" - Optimize for binary size. | |
| 498 | # "z" - Optimize for binary size, but also turn off loop vectorization. | |
| 499 | #optimize = true | |
| 500 | ||
| 501 | # Indicates that the build should be configured for debugging Rust. A | |
| 502 | # `debug`-enabled compiler and standard library will be somewhat | |
| 503 | # slower (due to e.g. checking of debug assertions) but should remain | |
| 504 | # usable. | |
| 505 | # | |
| 506 | # Note: If this value is set to `true`, it will affect a number of | |
| 507 | # configuration options below as well, if they have been left | |
| 508 | # unconfigured in this file. | |
| 509 | # | |
| 510 | # Note: changes to the `debug` setting do *not* affect `optimize` | |
| 511 | # above. In theory, a "maximally debuggable" environment would | |
| 512 | # set `optimize` to `false` above to assist the introspection | |
| 513 | # facilities of debuggers like lldb and gdb. To recreate such an | |
| 514 | # environment, explicitly set `optimize` to `false` and `debug` | |
| 515 | # to `true`. In practice, everyone leaves `optimize` set to | |
| 516 | # `true`, because an unoptimized rustc with debugging | |
| 517 | # enabled becomes *unusably slow* (e.g. rust-lang/rust#24840 | |
| 518 | # reported a 25x slowdown) and bootstrapping the supposed | |
| 519 | # "maximally debuggable" environment (notably libstd) takes | |
| 520 | # hours to build. | |
| 521 | # | |
| 522 | #debug = false | |
| 523 | ||
| 524 | # Whether to download the stage 1 and 2 compilers from CI. This is useful if you | |
| 525 | # are working on tools, doc-comments, or library (you will be able to build the | |
| 526 | # standard library without needing to build the compiler). | |
| 527 | # | |
| 528 | # Set this to "if-unchanged" if you are working on `src/tools`, `tests` or | |
| 529 | # `library` (on CI, `library` changes triggers in-tree compiler build) to speed | |
| 530 | # up the build process if you don't need to build a compiler from the latest | |
| 531 | # commit from `master`. | |
| 532 | # | |
| 533 | # Set this to `true` to always download or `false` to always use the in-tree | |
| 534 | # compiler. | |
| 535 | #download-rustc = false | |
| 536 | ||
| 537 | # Number of codegen units to use for each compiler invocation. A value of 0 | |
| 538 | # means "the number of cores on this machine", and 1+ is passed through to the | |
| 539 | # compiler. | |
| 540 | # | |
| 541 | # Uses the rustc defaults: https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units | |
| 542 | #codegen-units = if incremental { 256 } else { 16 } | |
| 543 | ||
| 544 | # Sets the number of codegen units to build the standard library with, | |
| 545 | # regardless of what the codegen-unit setting for the rest of the compiler is. | |
| 546 | # NOTE: building with anything other than 1 is known to occasionally have bugs. | |
| 547 | #codegen-units-std = codegen-units | |
| 548 | ||
| 549 | # Whether or not debug assertions are enabled for the compiler and standard library. | |
| 550 | # These can help find bugs at the cost of a small runtime slowdown. | |
| 551 | # | |
| 552 | # Defaults to rust.debug value | |
| 553 | #debug-assertions = rust.debug (boolean) | |
| 554 | ||
| 555 | # Whether or not debug assertions are enabled for the standard library. | |
| 556 | # Overrides the `debug-assertions` option, if defined. | |
| 557 | # | |
| 558 | # Defaults to rust.debug-assertions value | |
| 559 | #debug-assertions-std = rust.debug-assertions (boolean) | |
| 560 | ||
| 561 | # Whether or not to leave debug! and trace! calls in the rust binary. | |
| 562 | # | |
| 563 | # Defaults to rust.debug-assertions value | |
| 564 | # | |
| 565 | # If you see a message from `tracing` saying "some trace filter directives would enable traces that | |
| 566 | # are disabled statically" because `max_level_info` is enabled, set this value to `true`. | |
| 567 | #debug-logging = rust.debug-assertions (boolean) | |
| 568 | ||
| 569 | # Whether or not to build rustc, tools and the libraries with randomized type layout | |
| 570 | #randomize-layout = false | |
| 571 | ||
| 572 | # Whether or not overflow checks are enabled for the compiler and standard | |
| 573 | # library. | |
| 574 | # | |
| 575 | # Defaults to rust.debug value | |
| 576 | #overflow-checks = rust.debug (boolean) | |
| 577 | ||
| 578 | # Whether or not overflow checks are enabled for the standard library. | |
| 579 | # Overrides the `overflow-checks` option, if defined. | |
| 580 | # | |
| 581 | # Defaults to rust.overflow-checks value | |
| 582 | #overflow-checks-std = rust.overflow-checks (boolean) | |
| 583 | ||
| 584 | # Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`. | |
| 585 | # See https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo for available options. | |
| 586 | # | |
| 587 | # Can be overridden for specific subsets of Rust code (rustc, std or tools). | |
| 588 | # Debuginfo for tests run with compiletest is not controlled by this option | |
| 589 | # and needs to be enabled separately with `debuginfo-level-tests`. | |
| 590 | # | |
| 591 | # Note that debuginfo-level = 2 generates several gigabytes of debuginfo | |
| 592 | # and will slow down the linking process significantly. | |
| 593 | #debuginfo-level = if rust.debug { 1 } else { 0 } | |
| 594 | ||
| 595 | # Debuginfo level for the compiler. | |
| 596 | #debuginfo-level-rustc = rust.debuginfo-level | |
| 597 | ||
| 598 | # Debuginfo level for the standard library. | |
| 599 | #debuginfo-level-std = rust.debuginfo-level | |
| 600 | ||
| 601 | # Debuginfo level for the tools. | |
| 602 | #debuginfo-level-tools = rust.debuginfo-level | |
| 603 | ||
| 604 | # Debuginfo level for the test suites run with compiletest. | |
| 605 | # FIXME(#61117): Some tests fail when this option is enabled. | |
| 606 | #debuginfo-level-tests = 0 | |
| 607 | ||
| 608 | # Should rustc and the standard library be built with split debuginfo? Default | |
| 609 | # is platform dependent. | |
| 610 | # | |
| 611 | # This field is deprecated, use `target.<triple>.split-debuginfo` instead. | |
| 612 | # | |
| 613 | # The value specified here is only used when targeting the `build.build` triple, | |
| 614 | # and is overridden by `target.<triple>.split-debuginfo` if specified. | |
| 615 | # | |
| 616 | #split-debuginfo = see target.<triple>.split-debuginfo | |
| 617 | ||
| 618 | # Whether or not `panic!`s generate backtraces (RUST_BACKTRACE) | |
| 619 | #backtrace = true | |
| 620 | ||
| 621 | # Whether to always use incremental compilation when building rustc | |
| 622 | #incremental = false | |
| 623 | ||
| 624 | # The default linker that will be hard-coded into the generated | |
| 625 | # compiler for targets that don't specify a default linker explicitly | |
| 626 | # in their target specifications. Note that this is not the linker | |
| 627 | # used to link said compiler. It can also be set per-target (via the | |
| 628 | # `[target.<triple>]` block), which may be useful in a cross-compilation | |
| 629 | # setting. | |
| 630 | # | |
| 631 | # See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information. | |
| 632 | #default-linker = <none> (path) | |
| 633 | ||
| 634 | # The "channel" for the Rust build to produce. The stable/beta channels only | |
| 635 | # allow using stable features, whereas the nightly and dev channels allow using | |
| 636 | # nightly features. | |
| 637 | # | |
| 638 | # You can set the channel to "auto-detect" to load the channel name from `src/ci/channel`. | |
| 639 | # | |
| 640 | # If using tarball sources, default value is "auto-detect", otherwise, it's "dev". | |
| 641 | #channel = if "is a tarball source" { "auto-detect" } else { "dev" } | |
| 642 | ||
| 643 | # The root location of the musl installation directory. The library directory | |
| 644 | # will also need to contain libunwind.a for an unwinding implementation. Note | |
| 645 | # that this option only makes sense for musl targets that produce statically | |
| 646 | # linked binaries. | |
| 647 | # | |
| 648 | # Defaults to /usr on musl hosts. Has no default otherwise. | |
| 649 | #musl-root = <platform specific> (path) | |
| 650 | ||
| 651 | # By default the `rustc` executable is built with `-Wl,-rpath` flags on Unix | |
| 652 | # platforms to ensure that the compiler is usable by default from the build | |
| 653 | # directory (as it links to a number of dynamic libraries). This may not be | |
| 654 | # desired in distributions, for example. | |
| 655 | #rpath = true | |
| 656 | ||
| 657 | # Indicates whether symbols should be stripped using `-Cstrip=symbols`. | |
| 658 | #strip = false | |
| 659 | ||
| 660 | # Forces frame pointers to be used with `-Cforce-frame-pointers`. | |
| 661 | # This can be helpful for profiling at a small performance cost. | |
| 662 | #frame-pointers = false | |
| 663 | ||
| 664 | # Indicates whether stack protectors should be used | |
| 665 | # via the unstable option `-Zstack-protector`. | |
| 666 | # | |
| 667 | # Valid options are : `none`(default),`basic`,`strong`, or `all`. | |
| 668 | # `strong` and `basic` options may be buggy and are not recommended, see rust-lang/rust#114903. | |
| 669 | #stack-protector = "none" | |
| 670 | ||
| 671 | # Prints each test name as it is executed, to help debug issues in the test harness itself. | |
| 672 | #verbose-tests = if is_verbose { true } else { false } | |
| 673 | ||
| 674 | # Flag indicating whether tests are compiled with optimizations (the -O flag). | |
| 675 | #optimize-tests = true | |
| 676 | ||
| 677 | # Flag indicating whether codegen tests will be run or not. If you get an error | |
| 678 | # saying that the FileCheck executable is missing, you may want to disable this. | |
| 679 | # Also see the target's llvm-filecheck option. | |
| 680 | #codegen-tests = true | |
| 681 | ||
| 682 | # Flag indicating whether git info will be retrieved from .git automatically. | |
| 683 | # Having the git information can cause a lot of rebuilds during development. | |
| 684 | #omit-git-hash = if rust.channel == "dev" { true } else { false } | |
| 685 | ||
| 686 | # Whether to create a source tarball by default when running `x dist`. | |
| 687 | # | |
| 688 | # You can still build a source tarball when this is disabled by explicitly passing `x dist rustc-src`. | |
| 689 | #dist-src = true | |
| 690 | ||
| 691 | # After building or testing an optional component (e.g. the nomicon or reference), append the | |
| 692 | # result (broken, compiling, testing) into this JSON file. | |
| 693 | #save-toolstates = <none> (path) | |
| 694 | ||
| 695 | # This is an array of the codegen backends that will be compiled for the rustc | |
| 696 | # that's being compiled. The default is to only build the LLVM codegen backend, | |
| 697 | # and currently the only standard options supported are `"llvm"`, `"cranelift"` | |
| 698 | # and `"gcc"`. The first backend in this list will be used as default by rustc | |
| 699 | # when no explicit backend is specified. | |
| 700 | #codegen-backends = ["llvm"] | |
| 701 | ||
| 702 | # Indicates whether LLD will be compiled and made available in the sysroot for rustc to execute, and | |
| 703 | # whether to set it as rustc's default linker on `x86_64-unknown-linux-gnu`. This will also only be | |
| 704 | # when *not* building an external LLVM (so only when using `download-ci-llvm` or building LLVM from | |
| 705 | # the in-tree source): setting `llvm-config` in the `[target.x86_64-unknown-linux-gnu]` section will | |
| 706 | # make this default to false. | |
| 707 | #lld = false in all cases, except on `x86_64-unknown-linux-gnu` as described above, where it is true | |
| 708 | ||
| 709 | # Indicates whether LLD will be used to link Rust crates during bootstrap on | |
| 710 | # supported platforms. | |
| 711 | # If set to `true` or `"external"`, a global `lld` binary that has to be in $PATH | |
| 712 | # will be used. | |
| 713 | # If set to `"self-contained"`, rust-lld from the snapshot compiler will be used. | |
| 714 | # | |
| 715 | # On MSVC, LLD will not be used if we're cross linking. | |
| 716 | # | |
| 717 | # Explicitly setting the linker for a target will override this option when targeting MSVC. | |
| 718 | #use-lld = false | |
| 719 | ||
| 720 | # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the | |
| 721 | # sysroot. | |
| 722 | #llvm-tools = true | |
| 723 | ||
| 724 | # Indicates whether the `self-contained` llvm-bitcode-linker, will be made available | |
| 725 | # in the sysroot. It is required for running nvptx tests. | |
| 726 | #llvm-bitcode-linker = false | |
| 727 | ||
| 728 | # Whether to deny warnings in crates | |
| 729 | #deny-warnings = true | |
| 730 | ||
| 731 | # Print backtrace on internal compiler errors during bootstrap | |
| 732 | #backtrace-on-ice = false | |
| 733 | ||
| 734 | # Whether to verify generated LLVM IR | |
| 735 | #verify-llvm-ir = false | |
| 736 | ||
| 737 | # Compile the compiler with a non-default ThinLTO import limit. This import | |
| 738 | # limit controls the maximum size of functions imported by ThinLTO. Decreasing | |
| 739 | # will make code compile faster at the expense of lower runtime performance. | |
| 740 | #thin-lto-import-instr-limit = if incremental { 10 } else { LLVM default (currently 100) } | |
| 741 | ||
| 742 | # Map debuginfo paths to `/rust/$sha/...`. | |
| 743 | # Useful for reproducible builds. Generally only set for releases | |
| 744 | #remap-debuginfo = false | |
| 745 | ||
| 746 | # Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. | |
| 747 | # This option is only tested on Linux and OSX. It can also be configured per-target in the | |
| 748 | # [target.<tuple>] section. | |
| 749 | #jemalloc = false | |
| 750 | ||
| 751 | # Run tests in various test suites with the "nll compare mode" in addition to | |
| 752 | # running the tests in normal mode. Largely only used on CI and during local | |
| 753 | # development of NLL | |
| 754 | #test-compare-mode = false | |
| 755 | ||
| 756 | # Global default for llvm-libunwind for all targets. See the target-specific | |
| 757 | # documentation for llvm-libunwind below. Note that the target-specific | |
| 758 | # option will override this if set. | |
| 759 | #llvm-libunwind = 'no' | |
| 760 | ||
| 761 | # Enable Windows Control Flow Guard checks in the standard library. | |
| 762 | # This only applies from stage 1 onwards, and only for Windows targets. | |
| 763 | #control-flow-guard = false | |
| 764 | ||
| 765 | # Enable Windows EHCont Guard checks in the standard library. | |
| 766 | # This only applies from stage 1 onwards, and only for Windows targets. | |
| 767 | #ehcont-guard = false | |
| 768 | ||
| 769 | # Enable symbol-mangling-version v0. This can be helpful when profiling rustc, | |
| 770 | # as generics will be preserved in symbols (rather than erased into opaque T). | |
| 771 | # When no setting is given, the new scheme will be used when compiling the | |
| 772 | # compiler and its tools and the legacy scheme will be used when compiling the | |
| 773 | # standard library. | |
| 774 | # If an explicit setting is given, it will be used for all parts of the codebase. | |
| 775 | #new-symbol-mangling = true|false (see comment) | |
| 776 | ||
| 777 | # Select LTO mode that will be used for compiling rustc. By default, thin local LTO | |
| 778 | # (LTO within a single crate) is used (like for any Rust crate). You can also select | |
| 779 | # "thin" or "fat" to apply Thin/Fat LTO to the `rustc_driver` dylib, or "off" to disable | |
| 780 | # LTO entirely. | |
| 781 | #lto = "thin-local" | |
| 782 | ||
| 783 | # Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std` | |
| 784 | #validate-mir-opts = 3 | |
| 785 | ||
| 786 | # Configure `std` features used during bootstrap. | |
| 787 | # | |
| 788 | # Default features will be expanded in the following cases: | |
| 789 | # - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled: | |
| 790 | # - "llvm-libunwind" will be added for in-tree LLVM builds. | |
| 791 | # - "system-llvm-libunwind" will be added for system LLVM builds. | |
| 792 | # - If `rust.backtrace` is enabled, "backtrace" will be added. | |
| 793 | # - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added. | |
| 794 | # - If building for a zkvm target, "compiler-builtins-mem" will be added. | |
| 795 | # | |
| 796 | # Since libstd also builds libcore and liballoc as dependencies and all their features are mirrored | |
| 797 | # as libstd features, this option can also be used to configure features such as optimize_for_size. | |
| 798 | #std-features = ["panic_unwind"] | |
| 799 | ||
| 800 | # ============================================================================= | |
| 801 | # Options for specific targets | |
| 802 | # | |
| 803 | # Each of the following options is scoped to the specific target triple in | |
| 804 | # question and is used for determining how to compile each target. | |
| 805 | # ============================================================================= | |
| 806 | [target.x86_64-unknown-linux-gnu] | |
| 807 | ||
| 808 | # C compiler to be used to compile C code. Note that the | |
| 809 | # default value is platform specific, and if not specified it may also depend on | |
| 810 | # what platform is crossing to what platform. | |
| 811 | # See `src/bootstrap/src/utils/cc_detect.rs` for details. | |
| 812 | #cc = "cc" (path) | |
| 813 | ||
| 814 | # C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims). | |
| 815 | # This is only used for host targets. | |
| 816 | # See `src/bootstrap/src/utils/cc_detect.rs` for details. | |
| 817 | #cxx = "c++" (path) | |
| 818 | ||
| 819 | # Archiver to be used to assemble static libraries compiled from C/C++ code. | |
| 820 | # Note: an absolute path should be used, otherwise LLVM build will break. | |
| 821 | #ar = "ar" (path) | |
| 822 | ||
| 823 | # Ranlib to be used to assemble static libraries compiled from C/C++ code. | |
| 824 | # Note: an absolute path should be used, otherwise LLVM build will break. | |
| 825 | #ranlib = "ranlib" (path) | |
| 826 | ||
| 827 | # Linker to be used to bootstrap Rust code. Note that the | |
| 828 | # default value is platform specific, and if not specified it may also depend on | |
| 829 | # what platform is crossing to what platform. | |
| 830 | # Setting this will override the `use-lld` option for Rust code when targeting MSVC. | |
| 831 | #linker = "cc" (path) | |
| 832 | ||
| 833 | # Should rustc and the standard library be built with split debuginfo? Default | |
| 834 | # is platform dependent. | |
| 835 | # | |
| 836 | # Valid values are the same as those accepted by `-C split-debuginfo` | |
| 837 | # (`off`/`unpacked`/`packed`). | |
| 838 | # | |
| 839 | # On Linux, split debuginfo is disabled by default. | |
| 840 | # | |
| 841 | # On Apple platforms, unpacked split debuginfo is used by default. Unpacked | |
| 842 | # debuginfo does not run `dsymutil`, which packages debuginfo from disparate | |
| 843 | # object files into a single `.dSYM` file. `dsymutil` adds time to builds for | |
| 844 | # no clear benefit, and also makes it more difficult for debuggers to find | |
| 845 | # debug info. The compiler currently defaults to running `dsymutil` to preserve | |
| 846 | # its historical default, but when compiling the compiler itself, we skip it by | |
| 847 | # default since we know it's safe to do so in that case. | |
| 848 | # | |
| 849 | # On Windows platforms, packed debuginfo is the only supported option, | |
| 850 | # producing a `.pdb` file. | |
| 851 | #split-debuginfo = if linux { off } else if windows { packed } else if apple { unpacked } | |
| 852 | ||
| 853 | # Path to the `llvm-config` binary of the installation of a custom LLVM to link | |
| 854 | # against. Note that if this is specified we don't compile LLVM at all for this | |
| 855 | # target. | |
| 856 | #llvm-config = <none> (path) | |
| 857 | ||
| 858 | # Override detection of whether this is a Rust-patched LLVM. This would be used | |
| 859 | # in conjunction with either an llvm-config or build.submodules = false. | |
| 860 | #llvm-has-rust-patches = if llvm-config { false } else { true } | |
| 861 | ||
| 862 | # Normally the build system can find LLVM's FileCheck utility, but if | |
| 863 | # not, you can specify an explicit file name for it. | |
| 864 | #llvm-filecheck = "/path/to/llvm-version/bin/FileCheck" | |
| 865 | ||
| 866 | # Use LLVM libunwind as the implementation for Rust's unwinder. | |
| 867 | # Accepted values are 'in-tree' (formerly true), 'system' or 'no' (formerly false). | |
| 868 | # This option only applies for Linux and Fuchsia targets. | |
| 869 | # On Linux target, if crt-static is not enabled, 'no' means dynamic link to | |
| 870 | # `libgcc_s.so`, 'in-tree' means static link to the in-tree build of llvm libunwind | |
| 871 | # and 'system' means dynamic link to `libunwind.so`. If crt-static is enabled, | |
| 872 | # the behavior is depend on the libc. On musl target, 'no' and 'in-tree' both | |
| 873 | # means static link to the in-tree build of llvm libunwind, and 'system' means | |
| 874 | # static link to `libunwind.a` provided by system. Due to the limitation of glibc, | |
| 875 | # it must link to `libgcc_eh.a` to get a working output, and this option have no effect. | |
| 876 | #llvm-libunwind = 'no' if Linux, 'in-tree' if Fuchsia | |
| 877 | ||
| 878 | # Build the sanitizer runtimes for this target. | |
| 879 | # This option will override the same option under [build] section. | |
| 880 | #sanitizers = build.sanitizers (bool) | |
| 881 | ||
| 882 | # When true, build the profiler runtime for this target (required when compiling | |
| 883 | # with options that depend on this runtime, such as `-C profile-generate` or | |
| 884 | # `-C instrument-coverage`). This may also be given a path to an existing build | |
| 885 | # of the profiling runtime library from LLVM's compiler-rt. | |
| 886 | # This option will override the same option under [build] section. | |
| 887 | #profiler = build.profiler (bool) | |
| 888 | ||
| 889 | # This option supports enable `rpath` in each target independently, | |
| 890 | # and will override the same option under [rust] section. It only works on Unix platforms | |
| 891 | #rpath = rust.rpath (bool) | |
| 892 | ||
| 893 | # Force static or dynamic linkage of the standard library for this target. If | |
| 894 | # this target is a host for rustc, this will also affect the linkage of the | |
| 895 | # compiler itself. This is useful for building rustc on targets that normally | |
| 896 | # only use static libraries. If unset, the target's default linkage is used. | |
| 897 | #crt-static = <platform-specific> (bool) | |
| 898 | ||
| 899 | # The root location of the musl installation directory. The library directory | |
| 900 | # will also need to contain libunwind.a for an unwinding implementation. Note | |
| 901 | # that this option only makes sense for musl targets that produce statically | |
| 902 | # linked binaries. | |
| 903 | #musl-root = build.musl-root (path) | |
| 904 | ||
| 905 | # The full path to the musl libdir. | |
| 906 | #musl-libdir = musl-root/lib | |
| 907 | ||
| 908 | # The root location of the `wasm32-wasip1` sysroot. Only used for WASI | |
| 909 | # related targets. Make sure to create a `[target.wasm32-wasip1]` | |
| 910 | # section and move this field there (or equivalent for the target being built). | |
| 911 | #wasi-root = <none> (path) | |
| 912 | ||
| 913 | # Used in testing for configuring where the QEMU images are located, you | |
| 914 | # probably don't want to use this. | |
| 915 | #qemu-rootfs = <none> (path) | |
| 916 | ||
| 917 | # Skip building the `std` library for this target. Enabled by default for | |
| 918 | # target triples containing `-none`, `nvptx`, `switch`, or `-uefi`. | |
| 919 | #no-std = <platform-specific> (bool) | |
| 920 | ||
| 921 | # This is an array of the codegen backends that will be | |
| 922 | # compiled for this target, overriding the global rust.codegen-backends option. | |
| 923 | # See that option for more info. | |
| 924 | #codegen-backends = rust.codegen-backends (array) | |
| 925 | ||
| 926 | # This is a "runner" to pass to `compiletest` when executing tests. Tests will | |
| 927 | # execute this tool where the binary-to-test is passed as an argument. Can | |
| 928 | # be useful for situations such as when WebAssembly is being tested and a | |
| 929 | # runtime needs to be configured. This value is similar to | |
| 930 | # Cargo's `CARGO_$target_RUNNER` configuration. | |
| 931 | # | |
| 932 | # This configuration is a space-separated list of arguments so `foo bar` would | |
| 933 | # execute the program `foo` with the first argument as `bar` and the second | |
| 934 | # argument as the test binary. | |
| 935 | #runner = <none> (string) | |
| 936 | ||
| 937 | # Use the optimized LLVM C intrinsics for `compiler_builtins`, rather than Rust intrinsics | |
| 938 | # on this target. | |
| 939 | # Requires the LLVM submodule to be managed by bootstrap (i.e. not external) so that `compiler-rt` | |
| 940 | # sources are available. | |
| 941 | # | |
| 942 | # Setting this to `false` generates slower code, but removes the requirement for a C toolchain in | |
| 943 | # order to run `x check`. | |
| 944 | #optimized-compiler-builtins = build.optimized-compiler-builtins (bool) | |
| 945 | ||
| 946 | # Link the compiler and LLVM against `jemalloc` instead of the default libc allocator. | |
| 947 | # This overrides the global `rust.jemalloc` option. See that option for more info. | |
| 948 | #jemalloc = rust.jemalloc (bool) | |
| 949 | ||
| 950 | # ============================================================================= | |
| 951 | # Distribution options | |
| 952 | # | |
| 953 | # These options are related to distribution, mostly for the Rust project itself. | |
| 954 | # You probably won't need to concern yourself with any of these options | |
| 955 | # ============================================================================= | |
| 956 | [dist] | |
| 957 | ||
| 958 | # This is the folder of artifacts that the build system will sign. All files in | |
| 959 | # this directory will be signed with the default gpg key using the system `gpg` | |
| 960 | # binary. The `asc` and `sha256` files will all be output into the standard dist | |
| 961 | # output folder (currently `build/dist`) | |
| 962 | # | |
| 963 | # This folder should be populated ahead of time before the build system is | |
| 964 | # invoked. | |
| 965 | #sign-folder = <none> (path) | |
| 966 | ||
| 967 | # The remote address that all artifacts will eventually be uploaded to. The | |
| 968 | # build system generates manifests which will point to these urls, and for the | |
| 969 | # manifests to be correct they'll have to have the right URLs encoded. | |
| 970 | # | |
| 971 | # Note that this address should not contain a trailing slash as file names will | |
| 972 | # be appended to it. | |
| 973 | #upload-addr = <none> (URL) | |
| 974 | ||
| 975 | # Whether to build a plain source tarball to upload | |
| 976 | # We disable that on Windows not to override the one already uploaded on S3 | |
| 977 | # as the one built on Windows will contain backslashes in paths causing problems | |
| 978 | # on linux | |
| 979 | #src-tarball = true | |
| 980 | ||
| 981 | # List of compression formats to use when generating dist tarballs. The list of | |
| 982 | # formats is provided to rust-installer, which must support all of them. | |
| 983 | # | |
| 984 | # This list must be non-empty. | |
| 985 | #compression-formats = ["gz", "xz"] | |
| 986 | ||
| 987 | # How much time should be spent compressing the tarballs. The better the | |
| 988 | # compression profile, the longer compression will take. | |
| 989 | # | |
| 990 | # Available options: fast, balanced, best | |
| 991 | #compression-profile = "fast" | |
| 992 | ||
| 993 | # Copy the linker, DLLs, and various libraries from MinGW into the Rust toolchain. | |
| 994 | # Only applies when the host or target is pc-windows-gnu. | |
| 995 | #include-mingw-linker = true | |
| 996 | ||
| 997 | # Whether to vendor dependencies for the dist tarball. | |
| 998 | #vendor = if "is a tarball source" || "is a git repository" { true } else { false } |
src/bootstrap/README.md+1-1| ... | ... | @@ -163,7 +163,7 @@ compiler, which will then build the bootstrap binary written in Rust. |
| 163 | 163 | |
| 164 | 164 | Because there are two separate codebases behind `x.py`, they need to |
| 165 | 165 | be kept in sync. In particular, both `bootstrap.py` and the bootstrap binary |
| 166 | parse `config.toml` and read the same command line arguments. `bootstrap.py` | |
| 166 | parse `bootstrap.toml` and read the same command line arguments. `bootstrap.py` | |
| 167 | 167 | keeps these in sync by setting various environment variables, and the |
| 168 | 168 | programs sometimes have to add arguments that are explicitly ignored, to be |
| 169 | 169 | read by the other. |
src/bootstrap/bootstrap.py+17-9| ... | ... | @@ -726,7 +726,7 @@ class RustBuild(object): |
| 726 | 726 | |
| 727 | 727 | def should_fix_bins_and_dylibs(self): |
| 728 | 728 | """Whether or not `fix_bin_or_dylib` needs to be run; can only be True |
| 729 | on NixOS or if config.toml has `build.patch-binaries-for-nix` set. | |
| 729 | on NixOS or if bootstrap.toml has `build.patch-binaries-for-nix` set. | |
| 730 | 730 | """ |
| 731 | 731 | if self._should_fix_bins_and_dylibs is not None: |
| 732 | 732 | return self._should_fix_bins_and_dylibs |
| ... | ... | @@ -775,7 +775,7 @@ class RustBuild(object): |
| 775 | 775 | "The IN_NIX_SHELL environment variable is `{}`;".format( |
| 776 | 776 | in_nix_shell |
| 777 | 777 | ), |
| 778 | "you may need to set `patch-binaries-for-nix=true` in config.toml", | |
| 778 | "you may need to set `patch-binaries-for-nix=true` in bootstrap.toml", | |
| 779 | 779 | ) |
| 780 | 780 | |
| 781 | 781 | return is_nixos |
| ... | ... | @@ -884,7 +884,7 @@ class RustBuild(object): |
| 884 | 884 | return os.path.join(self.build_dir, self.build, subdir) |
| 885 | 885 | |
| 886 | 886 | def get_toml(self, key, section=None): |
| 887 | """Returns the value of the given key in config.toml, otherwise returns None | |
| 887 | """Returns the value of the given key in bootstrap.toml, otherwise returns None | |
| 888 | 888 | |
| 889 | 889 | >>> rb = RustBuild() |
| 890 | 890 | >>> rb.config_toml = 'key1 = "value1"\\nkey2 = "value2"' |
| ... | ... | @@ -1250,17 +1250,23 @@ def bootstrap(args): |
| 1250 | 1250 | "unless you put them in place manually." |
| 1251 | 1251 | ) |
| 1252 | 1252 | |
| 1253 | # Read from `--config`, then `RUST_BOOTSTRAP_CONFIG`, then `./config.toml`, | |
| 1254 | # then `config.toml` in the root directory. | |
| 1253 | # Read from `--config` first, followed by `RUST_BOOTSTRAP_CONFIG`. | |
| 1254 | # If neither is set, check `./bootstrap.toml`, then `bootstrap.toml` in the root directory. | |
| 1255 | # If those are unavailable, fall back to `./config.toml`, then `config.toml` for | |
| 1256 | # backward compatibility. | |
| 1255 | 1257 | toml_path = args.config or os.getenv("RUST_BOOTSTRAP_CONFIG") |
| 1256 | 1258 | using_default_path = toml_path is None |
| 1257 | 1259 | if using_default_path: |
| 1258 | toml_path = "config.toml" | |
| 1260 | toml_path = "bootstrap.toml" | |
| 1259 | 1261 | if not os.path.exists(toml_path): |
| 1260 | toml_path = os.path.join(rust_root, toml_path) | |
| 1262 | toml_path = os.path.join(rust_root, "bootstrap.toml") | |
| 1263 | if not os.path.exists(toml_path): | |
| 1264 | toml_path = "config.toml" | |
| 1265 | if not os.path.exists(toml_path): | |
| 1266 | toml_path = os.path.join(rust_root, "config.toml") | |
| 1261 | 1267 | |
| 1262 | 1268 | # Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path, |
| 1263 | # but not if `config.toml` hasn't been created. | |
| 1269 | # but not if `bootstrap.toml` hasn't been created. | |
| 1264 | 1270 | if not using_default_path or os.path.exists(toml_path): |
| 1265 | 1271 | with open(toml_path) as config: |
| 1266 | 1272 | config_toml = config.read() |
| ... | ... | @@ -1278,7 +1284,9 @@ def bootstrap(args): |
| 1278 | 1284 | # profiles to be renamed while maintaining back compatibility |
| 1279 | 1285 | # Keep in sync with `profile_aliases` in config.rs |
| 1280 | 1286 | profile_aliases = {"user": "dist"} |
| 1281 | include_file = "config.{}.toml".format(profile_aliases.get(profile) or profile) | |
| 1287 | include_file = "bootstrap.{}.toml".format( | |
| 1288 | profile_aliases.get(profile) or profile | |
| 1289 | ) | |
| 1282 | 1290 | include_dir = os.path.join(rust_root, "src", "bootstrap", "defaults") |
| 1283 | 1291 | include_path = os.path.join(include_dir, include_file) |
| 1284 | 1292 |
src/bootstrap/bootstrap_test.py+3-3| ... | ... | @@ -156,7 +156,7 @@ class ParseArgsInConfigure(unittest.TestCase): |
| 156 | 156 | |
| 157 | 157 | |
| 158 | 158 | class GenerateAndParseConfig(unittest.TestCase): |
| 159 | """Test that we can serialize and deserialize a config.toml file""" | |
| 159 | """Test that we can serialize and deserialize a bootstrap.toml file""" | |
| 160 | 160 | |
| 161 | 161 | def test_no_args(self): |
| 162 | 162 | build = serialize_and_parse([]) |
| ... | ... | @@ -206,11 +206,11 @@ class BuildBootstrap(unittest.TestCase): |
| 206 | 206 | # problem in most cases, but there is a scenario where it would cause |
| 207 | 207 | # the test to fail. |
| 208 | 208 | # |
| 209 | # When a custom local Cargo is configured in config.toml (with the | |
| 209 | # When a custom local Cargo is configured in bootstrap.toml (with the | |
| 210 | 210 | # build.cargo setting), no Cargo is downloaded to any location known by |
| 211 | 211 | # bootstrap, and bootstrap relies on that setting to find it. |
| 212 | 212 | # |
| 213 | # In this test though we are not using the config.toml of the caller: | |
| 213 | # In this test though we are not using the bootstrap.toml of the caller: | |
| 214 | 214 | # we are generating a blank one instead. If we don't set build.cargo in |
| 215 | 215 | # it, the test will have no way to find Cargo, failing the test. |
| 216 | 216 | cargo_bin = os.environ.get("BOOTSTRAP_TEST_CARGO_BIN") |
src/bootstrap/configure.py+10-10| ... | ... | @@ -367,8 +367,8 @@ if "--help" in sys.argv or "-h" in sys.argv: |
| 367 | 367 | print("\t\t" + option.desc) |
| 368 | 368 | print("") |
| 369 | 369 | print("This configure script is a thin configuration shim over the true") |
| 370 | print("configuration system, `config.toml`. You can explore the comments") | |
| 371 | print("in `config.example.toml` next to this configure script to see") | |
| 370 | print("configuration system, `bootstrap.toml`. You can explore the comments") | |
| 371 | print("in `bootstrap.example.toml` next to this configure script to see") | |
| 372 | 372 | print("more information about what each option is. Additionally you can") |
| 373 | 373 | print("pass `--set` as an argument to set arbitrary key/value pairs") |
| 374 | 374 | print("in the TOML configuration if desired") |
| ... | ... | @@ -567,8 +567,8 @@ def apply_args(known_args, option_checking, config): |
| 567 | 567 | raise RuntimeError("unhandled option {}".format(option.name)) |
| 568 | 568 | |
| 569 | 569 | |
| 570 | # "Parse" the `config.example.toml` file into the various sections, and we'll | |
| 571 | # use this as a template of a `config.toml` to write out which preserves | |
| 570 | # "Parse" the `bootstrap.example.toml` file into the various sections, and we'll | |
| 571 | # use this as a template of a `bootstrap.toml` to write out which preserves | |
| 572 | 572 | # all the various comments and whatnot. |
| 573 | 573 | # |
| 574 | 574 | # Note that the `target` section is handled separately as we'll duplicate it |
| ... | ... | @@ -581,7 +581,7 @@ def parse_example_config(known_args, config): |
| 581 | 581 | targets = {} |
| 582 | 582 | top_level_keys = [] |
| 583 | 583 | |
| 584 | with open(rust_dir + "/config.example.toml") as example_config: | |
| 584 | with open(rust_dir + "/bootstrap.example.toml") as example_config: | |
| 585 | 585 | example_lines = example_config.read().split("\n") |
| 586 | 586 | for line in example_lines: |
| 587 | 587 | if cur_section is None: |
| ... | ... | @@ -755,8 +755,8 @@ def quit_if_file_exists(file): |
| 755 | 755 | |
| 756 | 756 | |
| 757 | 757 | if __name__ == "__main__": |
| 758 | # If 'config.toml' already exists, exit the script at this point | |
| 759 | quit_if_file_exists("config.toml") | |
| 758 | # If 'bootstrap.toml' already exists, exit the script at this point | |
| 759 | quit_if_file_exists("bootstrap.toml") | |
| 760 | 760 | |
| 761 | 761 | if "GITHUB_ACTIONS" in os.environ: |
| 762 | 762 | print("::group::Configure the build") |
| ... | ... | @@ -766,11 +766,11 @@ if __name__ == "__main__": |
| 766 | 766 | p("") |
| 767 | 767 | section_order, sections, targets = parse_args(sys.argv[1:]) |
| 768 | 768 | |
| 769 | # Now that we've built up our `config.toml`, write it all out in the same | |
| 769 | # Now that we've built up our `bootstrap.toml`, write it all out in the same | |
| 770 | 770 | # order that we read it in. |
| 771 | 771 | p("") |
| 772 | p("writing `config.toml` in current directory") | |
| 773 | with bootstrap.output("config.toml") as f: | |
| 772 | p("writing `bootstrap.toml` in current directory") | |
| 773 | with bootstrap.output("bootstrap.toml") as f: | |
| 774 | 774 | write_config_toml(f, section_order, targets, sections) |
| 775 | 775 | |
| 776 | 776 | with bootstrap.output("Makefile") as f: |
src/bootstrap/defaults/bootstrap.compiler.toml created+37| ... | ... | @@ -0,0 +1,37 @@ |
| 1 | # These defaults are meant for contributors to the compiler who do not modify codegen or LLVM | |
| 2 | [build] | |
| 3 | # Contributors working on the compiler will probably expect compiler docs to be generated. | |
| 4 | compiler-docs = true | |
| 5 | ||
| 6 | [rust] | |
| 7 | # This enables `RUSTC_LOG=debug`, avoiding confusing situations | |
| 8 | # where adding `debug!()` appears to do nothing. | |
| 9 | # However, it makes running the compiler slightly slower. | |
| 10 | debug-logging = true | |
| 11 | # Enables debug assertions, which guard from many mistakes when working on the compiler. | |
| 12 | debug-assertions = true | |
| 13 | # Get actually-useful information from backtraces, profiling, etc. with minimal added bytes | |
| 14 | debuginfo-level = "line-tables-only" | |
| 15 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 16 | incremental = true | |
| 17 | # Print backtrace on internal compiler errors during bootstrap | |
| 18 | backtrace-on-ice = true | |
| 19 | # Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. | |
| 20 | lto = "off" | |
| 21 | # Forces frame pointers to be used with `-Cforce-frame-pointers`. | |
| 22 | # This can be helpful for profiling at a small performance cost. | |
| 23 | frame-pointers = true | |
| 24 | # Compiler contributors often want to build rustc even without any changes to | |
| 25 | # e.g. check that it builds locally and check the baseline behavior of a | |
| 26 | # compiler built from latest `master` commit. | |
| 27 | download-rustc = false | |
| 28 | ||
| 29 | [llvm] | |
| 30 | # Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true` | |
| 31 | # because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default. | |
| 32 | assertions = false | |
| 33 | # Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation) | |
| 34 | enable-warnings = true | |
| 35 | # Will download LLVM from CI if available on your platform. | |
| 36 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 37 | download-ci-llvm = true |
src/bootstrap/defaults/bootstrap.dist.toml created+27| ... | ... | @@ -0,0 +1,27 @@ |
| 1 | # These defaults are meant for users and distro maintainers building from source, without intending to make multiple changes. | |
| 2 | [build] | |
| 3 | # When compiling from source, you almost always want a full stage 2 build, | |
| 4 | # which has all the latest optimizations from nightly. | |
| 5 | build-stage = 2 | |
| 6 | test-stage = 2 | |
| 7 | doc-stage = 2 | |
| 8 | # When compiling from source, you usually want all tools. | |
| 9 | extended = true | |
| 10 | ||
| 11 | # Most users installing from source want to build all parts of the project from source. | |
| 12 | [llvm] | |
| 13 | download-ci-llvm = false | |
| 14 | ||
| 15 | [rust] | |
| 16 | # We have several defaults in bootstrap that depend on whether the channel is `dev` (e.g. `omit-git-hash` and `download-ci-llvm`). | |
| 17 | # Make sure they don't get set when installing from source. | |
| 18 | channel = "nightly" | |
| 19 | # Never download a rustc, distributions must build a fresh compiler. | |
| 20 | download-rustc = false | |
| 21 | lld = true | |
| 22 | # Build the llvm-bitcode-linker | |
| 23 | llvm-bitcode-linker = true | |
| 24 | ||
| 25 | [dist] | |
| 26 | # Use better compression when preparing tarballs. | |
| 27 | compression-profile = "balanced" |
src/bootstrap/defaults/bootstrap.library.toml created+20| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | # These defaults are meant for contributors to the standard library and documentation. | |
| 2 | [build] | |
| 3 | # When building the standard library, you almost never want to build the compiler itself. | |
| 4 | build-stage = 0 | |
| 5 | test-stage = 0 | |
| 6 | bench-stage = 0 | |
| 7 | ||
| 8 | [rust] | |
| 9 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 10 | incremental = true | |
| 11 | # Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. | |
| 12 | lto = "off" | |
| 13 | # Download rustc by default for library profile if compiler-affecting | |
| 14 | # directories are not modified. For CI this is disabled. | |
| 15 | download-rustc = "if-unchanged" | |
| 16 | ||
| 17 | [llvm] | |
| 18 | # Will download LLVM from CI if available on your platform. | |
| 19 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 20 | download-ci-llvm = true |
src/bootstrap/defaults/bootstrap.tools.toml created+21| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | # These defaults are meant for contributors to tools which build on the | |
| 2 | # compiler, but do not modify it directly. | |
| 3 | [rust] | |
| 4 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 5 | incremental = true | |
| 6 | # Most commonly, tools contributors do not need to modify the compiler, so | |
| 7 | # downloading a CI rustc is a good default for tools profile. | |
| 8 | download-rustc = "if-unchanged" | |
| 9 | ||
| 10 | [build] | |
| 11 | # cargo and clippy tests don't pass on stage 1 | |
| 12 | test-stage = 2 | |
| 13 | # Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile. | |
| 14 | doc-stage = 2 | |
| 15 | # Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API. | |
| 16 | compiler-docs = true | |
| 17 | ||
| 18 | [llvm] | |
| 19 | # Will download LLVM from CI if available on your platform. | |
| 20 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 21 | download-ci-llvm = true |
src/bootstrap/defaults/config.compiler.toml deleted-37| ... | ... | @@ -1,37 +0,0 @@ |
| 1 | # These defaults are meant for contributors to the compiler who do not modify codegen or LLVM | |
| 2 | [build] | |
| 3 | # Contributors working on the compiler will probably expect compiler docs to be generated. | |
| 4 | compiler-docs = true | |
| 5 | ||
| 6 | [rust] | |
| 7 | # This enables `RUSTC_LOG=debug`, avoiding confusing situations | |
| 8 | # where adding `debug!()` appears to do nothing. | |
| 9 | # However, it makes running the compiler slightly slower. | |
| 10 | debug-logging = true | |
| 11 | # Enables debug assertions, which guard from many mistakes when working on the compiler. | |
| 12 | debug-assertions = true | |
| 13 | # Get actually-useful information from backtraces, profiling, etc. with minimal added bytes | |
| 14 | debuginfo-level = "line-tables-only" | |
| 15 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 16 | incremental = true | |
| 17 | # Print backtrace on internal compiler errors during bootstrap | |
| 18 | backtrace-on-ice = true | |
| 19 | # Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. | |
| 20 | lto = "off" | |
| 21 | # Forces frame pointers to be used with `-Cforce-frame-pointers`. | |
| 22 | # This can be helpful for profiling at a small performance cost. | |
| 23 | frame-pointers = true | |
| 24 | # Compiler contributors often want to build rustc even without any changes to | |
| 25 | # e.g. check that it builds locally and check the baseline behavior of a | |
| 26 | # compiler built from latest `master` commit. | |
| 27 | download-rustc = false | |
| 28 | ||
| 29 | [llvm] | |
| 30 | # Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true` | |
| 31 | # because we don't provide ci-llvm on the `rustc-alt-builds` server. Therefore, it is kept off by default. | |
| 32 | assertions = false | |
| 33 | # Enable warnings during the LLVM compilation (when LLVM is changed, causing a compilation) | |
| 34 | enable-warnings = true | |
| 35 | # Will download LLVM from CI if available on your platform. | |
| 36 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 37 | download-ci-llvm = true |
src/bootstrap/defaults/config.dist.toml deleted-27| ... | ... | @@ -1,27 +0,0 @@ |
| 1 | # These defaults are meant for users and distro maintainers building from source, without intending to make multiple changes. | |
| 2 | [build] | |
| 3 | # When compiling from source, you almost always want a full stage 2 build, | |
| 4 | # which has all the latest optimizations from nightly. | |
| 5 | build-stage = 2 | |
| 6 | test-stage = 2 | |
| 7 | doc-stage = 2 | |
| 8 | # When compiling from source, you usually want all tools. | |
| 9 | extended = true | |
| 10 | ||
| 11 | # Most users installing from source want to build all parts of the project from source. | |
| 12 | [llvm] | |
| 13 | download-ci-llvm = false | |
| 14 | ||
| 15 | [rust] | |
| 16 | # We have several defaults in bootstrap that depend on whether the channel is `dev` (e.g. `omit-git-hash` and `download-ci-llvm`). | |
| 17 | # Make sure they don't get set when installing from source. | |
| 18 | channel = "nightly" | |
| 19 | # Never download a rustc, distributions must build a fresh compiler. | |
| 20 | download-rustc = false | |
| 21 | lld = true | |
| 22 | # Build the llvm-bitcode-linker | |
| 23 | llvm-bitcode-linker = true | |
| 24 | ||
| 25 | [dist] | |
| 26 | # Use better compression when preparing tarballs. | |
| 27 | compression-profile = "balanced" |
src/bootstrap/defaults/config.library.toml deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | # These defaults are meant for contributors to the standard library and documentation. | |
| 2 | [build] | |
| 3 | # When building the standard library, you almost never want to build the compiler itself. | |
| 4 | build-stage = 0 | |
| 5 | test-stage = 0 | |
| 6 | bench-stage = 0 | |
| 7 | ||
| 8 | [rust] | |
| 9 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 10 | incremental = true | |
| 11 | # Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown. | |
| 12 | lto = "off" | |
| 13 | # Download rustc by default for library profile if compiler-affecting | |
| 14 | # directories are not modified. For CI this is disabled. | |
| 15 | download-rustc = "if-unchanged" | |
| 16 | ||
| 17 | [llvm] | |
| 18 | # Will download LLVM from CI if available on your platform. | |
| 19 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 20 | download-ci-llvm = true |
src/bootstrap/defaults/config.tools.toml deleted-21| ... | ... | @@ -1,21 +0,0 @@ |
| 1 | # These defaults are meant for contributors to tools which build on the | |
| 2 | # compiler, but do not modify it directly. | |
| 3 | [rust] | |
| 4 | # This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower. | |
| 5 | incremental = true | |
| 6 | # Most commonly, tools contributors do not need to modify the compiler, so | |
| 7 | # downloading a CI rustc is a good default for tools profile. | |
| 8 | download-rustc = "if-unchanged" | |
| 9 | ||
| 10 | [build] | |
| 11 | # cargo and clippy tests don't pass on stage 1 | |
| 12 | test-stage = 2 | |
| 13 | # Document with the in-tree rustdoc by default, since `download-rustc` makes it quick to compile. | |
| 14 | doc-stage = 2 | |
| 15 | # Contributors working on tools will probably expect compiler docs to be generated, so they can figure out how to use the API. | |
| 16 | compiler-docs = true | |
| 17 | ||
| 18 | [llvm] | |
| 19 | # Will download LLVM from CI if available on your platform. | |
| 20 | # If you intend to modify `src/llvm-project`, use `"if-unchanged"` or `false` instead. | |
| 21 | download-ci-llvm = true |
src/bootstrap/src/bin/main.rs+13-11| ... | ... | @@ -77,14 +77,14 @@ fn main() { |
| 77 | 77 | check_version(&config) |
| 78 | 78 | }; |
| 79 | 79 | |
| 80 | // NOTE: Since `./configure` generates a `config.toml`, distro maintainers will see the | |
| 80 | // NOTE: Since `./configure` generates a `bootstrap.toml`, distro maintainers will see the | |
| 81 | 81 | // changelog warning, not the `x.py setup` message. |
| 82 | 82 | let suggest_setup = config.config.is_none() && !matches!(config.cmd, Subcommand::Setup { .. }); |
| 83 | 83 | if suggest_setup { |
| 84 | println!("WARNING: you have not made a `config.toml`"); | |
| 84 | println!("WARNING: you have not made a `bootstrap.toml`"); | |
| 85 | 85 | println!( |
| 86 | "HELP: consider running `./x.py setup` or copying `config.example.toml` by running \ | |
| 87 | `cp config.example.toml config.toml`" | |
| 86 | "HELP: consider running `./x.py setup` or copying `bootstrap.example.toml` by running \ | |
| 87 | `cp bootstrap.example.toml bootstrap.toml`" | |
| 88 | 88 | ); |
| 89 | 89 | } else if let Some(suggestion) = &changelog_suggestion { |
| 90 | 90 | println!("{suggestion}"); |
| ... | ... | @@ -98,10 +98,10 @@ fn main() { |
| 98 | 98 | Build::new(config).build(); |
| 99 | 99 | |
| 100 | 100 | if suggest_setup { |
| 101 | println!("WARNING: you have not made a `config.toml`"); | |
| 101 | println!("WARNING: you have not made a `bootstrap.toml`"); | |
| 102 | 102 | println!( |
| 103 | "HELP: consider running `./x.py setup` or copying `config.example.toml` by running \ | |
| 104 | `cp config.example.toml config.toml`" | |
| 103 | "HELP: consider running `./x.py setup` or copying `bootstrap.example.toml` by running \ | |
| 104 | `cp bootstrap.example.toml bootstrap.toml`" | |
| 105 | 105 | ); |
| 106 | 106 | } else if let Some(suggestion) = &changelog_suggestion { |
| 107 | 107 | println!("{suggestion}"); |
| ... | ... | @@ -160,7 +160,7 @@ fn check_version(config: &Config) -> Option<String> { |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | // Always try to use `change-id` from .last-warned-change-id first. If it doesn't exist, |
| 163 | // then use the one from the config.toml. This way we never show the same warnings | |
| 163 | // then use the one from the bootstrap.toml. This way we never show the same warnings | |
| 164 | 164 | // more than once. |
| 165 | 165 | if let Ok(t) = fs::read_to_string(&warned_id_path) { |
| 166 | 166 | let last_warned_id = usize::from_str(&t) |
| ... | ... | @@ -185,16 +185,18 @@ fn check_version(config: &Config) -> Option<String> { |
| 185 | 185 | |
| 186 | 186 | msg.push_str("NOTE: to silence this warning, "); |
| 187 | 187 | msg.push_str(&format!( |
| 188 | "update `config.toml` to use `change-id = {latest_change_id}` instead" | |
| 188 | "update `bootstrap.toml` to use `change-id = {latest_change_id}` instead" | |
| 189 | 189 | )); |
| 190 | 190 | |
| 191 | 191 | if io::stdout().is_terminal() { |
| 192 | 192 | t!(fs::write(warned_id_path, latest_change_id.to_string())); |
| 193 | 193 | } |
| 194 | 194 | } else { |
| 195 | msg.push_str("WARNING: The `change-id` is missing in the `config.toml`. This means that you will not be able to track the major changes made to the bootstrap configurations.\n"); | |
| 195 | msg.push_str("WARNING: The `change-id` is missing in the `bootstrap.toml`. This means that you will not be able to track the major changes made to the bootstrap configurations.\n"); | |
| 196 | 196 | msg.push_str("NOTE: to silence this warning, "); |
| 197 | msg.push_str(&format!("add `change-id = {latest_change_id}` at the top of `config.toml`")); | |
| 197 | msg.push_str(&format!( | |
| 198 | "add `change-id = {latest_change_id}` at the top of `bootstrap.toml`" | |
| 199 | )); | |
| 198 | 200 | }; |
| 199 | 201 | |
| 200 | 202 | Some(msg) |
src/bootstrap/src/core/build_steps/compile.rs+4-4| ... | ... | @@ -425,7 +425,7 @@ fn copy_self_contained_objects( |
| 425 | 425 | } else if target.contains("-wasi") { |
| 426 | 426 | let srcdir = builder.wasi_libdir(target).unwrap_or_else(|| { |
| 427 | 427 | panic!( |
| 428 | "Target {:?} does not have a \"wasi-root\" key in Config.toml \ | |
| 428 | "Target {:?} does not have a \"wasi-root\" key in bootstrap.toml \ | |
| 429 | 429 | or `$WASI_SDK_PATH` set", |
| 430 | 430 | target.triple |
| 431 | 431 | ) |
| ... | ... | @@ -1294,7 +1294,7 @@ pub fn rustc_cargo_env( |
| 1294 | 1294 | .env("CFG_VERSION", builder.rust_version()); |
| 1295 | 1295 | |
| 1296 | 1296 | // Some tools like Cargo detect their own git information in build scripts. When omit-git-hash |
| 1297 | // is enabled in config.toml, we pass this environment variable to tell build scripts to avoid | |
| 1297 | // is enabled in bootstrap.toml, we pass this environment variable to tell build scripts to avoid | |
| 1298 | 1298 | // detecting git information on their own. |
| 1299 | 1299 | if builder.config.omit_git_hash { |
| 1300 | 1300 | cargo.env("CFG_OMIT_GIT_HASH", "1"); |
| ... | ... | @@ -1538,7 +1538,7 @@ fn is_codegen_cfg_needed(path: &TaskPath, run: &RunConfig<'_>) -> bool { |
| 1538 | 1538 | { |
| 1539 | 1539 | run.builder.info( |
| 1540 | 1540 | "WARNING: no codegen-backends config matched the requested path to build a codegen backend. \ |
| 1541 | HELP: add backend to codegen-backends in config.toml.", | |
| 1541 | HELP: add backend to codegen-backends in bootstrap.toml.", | |
| 1542 | 1542 | ); |
| 1543 | 1543 | return true; |
| 1544 | 1544 | } |
| ... | ... | @@ -1550,7 +1550,7 @@ fn is_codegen_cfg_needed(path: &TaskPath, run: &RunConfig<'_>) -> bool { |
| 1550 | 1550 | impl Step for CodegenBackend { |
| 1551 | 1551 | type Output = (); |
| 1552 | 1552 | const ONLY_HOSTS: bool = true; |
| 1553 | /// Only the backends specified in the `codegen-backends` entry of `config.toml` are built. | |
| 1553 | /// Only the backends specified in the `codegen-backends` entry of `bootstrap.toml` are built. | |
| 1554 | 1554 | const DEFAULT: bool = true; |
| 1555 | 1555 | |
| 1556 | 1556 | fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { |
src/bootstrap/src/core/build_steps/dist.rs+1-1| ... | ... | @@ -1000,9 +1000,9 @@ impl Step for PlainSourceTarball { |
| 1000 | 1000 | let src_files = [ |
| 1001 | 1001 | // tidy-alphabetical-start |
| 1002 | 1002 | ".gitmodules", |
| 1003 | "bootstrap.example.toml", | |
| 1003 | 1004 | "Cargo.lock", |
| 1004 | 1005 | "Cargo.toml", |
| 1005 | "config.example.toml", | |
| 1006 | 1006 | "configure", |
| 1007 | 1007 | "CONTRIBUTING.md", |
| 1008 | 1008 | "COPYRIGHT", |
src/bootstrap/src/core/build_steps/doc.rs+1-1| ... | ... | @@ -1218,7 +1218,7 @@ impl Step for RustcBook { |
| 1218 | 1218 | cmd.env("RUSTC_BOOTSTRAP", "1"); |
| 1219 | 1219 | |
| 1220 | 1220 | // If the lib directories are in an unusual location (changed in |
| 1221 | // config.toml), then this needs to explicitly update the dylib search | |
| 1221 | // bootstrap.toml), then this needs to explicitly update the dylib search | |
| 1222 | 1222 | // path. |
| 1223 | 1223 | builder.add_rustc_lib_path(self.compiler, &mut cmd); |
| 1224 | 1224 | let doc_generator_guard = builder.msg( |
src/bootstrap/src/core/build_steps/install.rs+2-2| ... | ... | @@ -85,11 +85,11 @@ fn install_sh( |
| 85 | 85 | } else { |
| 86 | 86 | assert!( |
| 87 | 87 | is_dir_writable_for_user(&prefix), |
| 88 | "User doesn't have write access on `install.prefix` path in the `config.toml`.", | |
| 88 | "User doesn't have write access on `install.prefix` path in the `bootstrap.toml`.", | |
| 89 | 89 | ); |
| 90 | 90 | assert!( |
| 91 | 91 | is_dir_writable_for_user(&sysconfdir), |
| 92 | "User doesn't have write access on `install.sysconfdir` path in `config.toml`." | |
| 92 | "User doesn't have write access on `install.sysconfdir` path in `bootstrap.toml`." | |
| 93 | 93 | ); |
| 94 | 94 | } |
| 95 | 95 |
src/bootstrap/src/core/build_steps/llvm.rs+1-1| ... | ... | @@ -350,7 +350,7 @@ impl Step for Llvm { |
| 350 | 350 | (true, true) => "RelWithDebInfo", |
| 351 | 351 | }; |
| 352 | 352 | |
| 353 | // NOTE: remember to also update `config.example.toml` when changing the | |
| 353 | // NOTE: remember to also update `bootstrap.example.toml` when changing the | |
| 354 | 354 | // defaults! |
| 355 | 355 | let llvm_targets = match &builder.config.llvm_targets { |
| 356 | 356 | Some(s) => s, |
src/bootstrap/src/core/build_steps/perf.rs+1-1| ... | ... | @@ -147,7 +147,7 @@ pub fn perf(builder: &Builder<'_>, args: &PerfArgs) { |
| 147 | 147 | }; |
| 148 | 148 | if is_profiling && builder.build.config.rust_debuginfo_level_rustc == DebuginfoLevel::None { |
| 149 | 149 | builder.info(r#"WARNING: You are compiling rustc without debuginfo, this will make profiling less useful. |
| 150 | Consider setting `rust.debuginfo-level = 1` in `config.toml`."#); | |
| 150 | Consider setting `rust.debuginfo-level = 1` in `bootstrap.toml`."#); | |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | 153 | let compiler = builder.compiler(builder.top_stage, builder.config.build); |
src/bootstrap/src/core/build_steps/run.rs+2-2| ... | ... | @@ -35,10 +35,10 @@ impl Step for BuildManifest { |
| 35 | 35 | // (https://github.com/rust-lang/promote-release). |
| 36 | 36 | let mut cmd = builder.tool_cmd(Tool::BuildManifest); |
| 37 | 37 | let sign = builder.config.dist_sign_folder.as_ref().unwrap_or_else(|| { |
| 38 | panic!("\n\nfailed to specify `dist.sign-folder` in `config.toml`\n\n") | |
| 38 | panic!("\n\nfailed to specify `dist.sign-folder` in `bootstrap.toml`\n\n") | |
| 39 | 39 | }); |
| 40 | 40 | let addr = builder.config.dist_upload_addr.as_ref().unwrap_or_else(|| { |
| 41 | panic!("\n\nfailed to specify `dist.upload-addr` in `config.toml`\n\n") | |
| 41 | panic!("\n\nfailed to specify `dist.upload-addr` in `bootstrap.toml`\n\n") | |
| 42 | 42 | }); |
| 43 | 43 | |
| 44 | 44 | let today = command("date").arg("+%Y-%m-%d").run_capture_stdout(builder).stdout(); |
src/bootstrap/src/core/build_steps/setup.rs+6-6| ... | ... | @@ -2,8 +2,8 @@ |
| 2 | 2 | //! |
| 3 | 3 | //! These are build-and-run steps for `./x.py setup`, which allows quickly setting up the directory |
| 4 | 4 | //! for modifying, building, and running the compiler and library. Running arbitrary configuration |
| 5 | //! allows setting up things that cannot be simply captured inside the config.toml, in addition to | |
| 6 | //! leading people away from manually editing most of the config.toml values. | |
| 5 | //! allows setting up things that cannot be simply captured inside the bootstrap.toml, in addition to | |
| 6 | //! leading people away from manually editing most of the bootstrap.toml values. | |
| 7 | 7 | |
| 8 | 8 | use std::env::consts::EXE_SUFFIX; |
| 9 | 9 | use std::fmt::Write as _; |
| ... | ... | @@ -37,7 +37,7 @@ static PROFILE_DIR: &str = "src/bootstrap/defaults"; |
| 37 | 37 | |
| 38 | 38 | impl Profile { |
| 39 | 39 | fn include_path(&self, src_path: &Path) -> PathBuf { |
| 40 | PathBuf::from(format!("{}/{PROFILE_DIR}/config.{}.toml", src_path.display(), self)) | |
| 40 | PathBuf::from(format!("{}/{PROFILE_DIR}/bootstrap.{}.toml", src_path.display(), self)) | |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | pub fn all() -> impl Iterator<Item = Self> { |
| ... | ... | @@ -53,7 +53,7 @@ impl Profile { |
| 53 | 53 | Compiler => "Contribute to the compiler itself", |
| 54 | 54 | Tools => "Contribute to tools which depend on the compiler, but do not modify it directly (e.g. rustdoc, clippy, miri)", |
| 55 | 55 | Dist => "Install Rust from source", |
| 56 | None => "Do not modify `config.toml`" | |
| 56 | None => "Do not modify `bootstrap.toml`" | |
| 57 | 57 | } |
| 58 | 58 | .to_string() |
| 59 | 59 | } |
| ... | ... | @@ -117,7 +117,7 @@ impl Step for Profile { |
| 117 | 117 | return; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | let path = &run.builder.config.config.clone().unwrap_or(PathBuf::from("config.toml")); | |
| 120 | let path = &run.builder.config.config.clone().unwrap_or(PathBuf::from("bootstrap.toml")); | |
| 121 | 121 | if path.exists() { |
| 122 | 122 | eprintln!(); |
| 123 | 123 | eprintln!( |
| ... | ... | @@ -203,7 +203,7 @@ pub fn setup(config: &Config, profile: Profile) { |
| 203 | 203 | ) |
| 204 | 204 | } |
| 205 | 205 | |
| 206 | let path = &config.config.clone().unwrap_or(PathBuf::from("config.toml")); | |
| 206 | let path = &config.config.clone().unwrap_or(PathBuf::from("bootstrap.toml")); | |
| 207 | 207 | setup_config_toml(path, profile, config); |
| 208 | 208 | } |
| 209 | 209 |
src/bootstrap/src/core/build_steps/test.rs+1-1| ... | ... | @@ -1119,7 +1119,7 @@ impl Step for Tidy { |
| 1119 | 1119 | "\ |
| 1120 | 1120 | ERROR: no `rustfmt` binary found in {PATH} |
| 1121 | 1121 | INFO: `rust.channel` is currently set to \"{CHAN}\" |
| 1122 | HELP: if you are testing a beta branch, set `rust.channel` to \"beta\" in the `config.toml` file | |
| 1122 | HELP: if you are testing a beta branch, set `rust.channel` to \"beta\" in the `bootstrap.toml` file | |
| 1123 | 1123 | HELP: to skip test's attempt to check tidiness, pass `--skip src/tools/tidy` to `x.py test`", |
| 1124 | 1124 | PATH = inferred_rustfmt_dir.display(), |
| 1125 | 1125 | CHAN = builder.config.channel, |
src/bootstrap/src/core/build_steps/toolstate.rs+2-2| ... | ... | @@ -128,7 +128,7 @@ impl Step for ToolStateCheck { |
| 128 | 128 | /// Checks tool state status. |
| 129 | 129 | /// |
| 130 | 130 | /// This is intended to be used in the `checktools.sh` script. To use |
| 131 | /// this, set `save-toolstates` in `config.toml` so that tool status will | |
| 131 | /// this, set `save-toolstates` in `bootstrap.toml` so that tool status will | |
| 132 | 132 | /// be saved to a JSON file. Then, run `x.py test --no-fail-fast` for all |
| 133 | 133 | /// of the tools to populate the JSON file. After that is done, this |
| 134 | 134 | /// command can be run to check for any status failures, and exits with an |
| ... | ... | @@ -254,7 +254,7 @@ impl Builder<'_> { |
| 254 | 254 | /// Updates the actual toolstate of a tool. |
| 255 | 255 | /// |
| 256 | 256 | /// The toolstates are saved to the file specified by the key |
| 257 | /// `rust.save-toolstates` in `config.toml`. If unspecified, nothing will be | |
| 257 | /// `rust.save-toolstates` in `bootstrap.toml`. If unspecified, nothing will be | |
| 258 | 258 | /// done. The file is updated immediately after this function completes. |
| 259 | 259 | pub fn save_toolstate(&self, tool: &str, state: ToolState) { |
| 260 | 260 | use std::io::Write; |
src/bootstrap/src/core/builder/cargo.rs+1-1| ... | ... | @@ -215,7 +215,7 @@ impl Cargo { |
| 215 | 215 | // dynamic libraries. We use this by default on Unix platforms to ensure |
| 216 | 216 | // that our nightlies behave the same on Windows, that is they work out |
| 217 | 217 | // of the box. This can be disabled by setting `rpath = false` in `[rust]` |
| 218 | // table of `config.toml` | |
| 218 | // table of `bootstrap.toml` | |
| 219 | 219 | // |
| 220 | 220 | // Ok, so the astute might be wondering "why isn't `-C rpath` used |
| 221 | 221 | // here?" and that is indeed a good question to ask. This codegen |
src/bootstrap/src/core/builder/mod.rs+3-3| ... | ... | @@ -31,9 +31,9 @@ mod cargo; |
| 31 | 31 | mod tests; |
| 32 | 32 | |
| 33 | 33 | /// Builds and performs different [`Self::kind`]s of stuff and actions, taking |
| 34 | /// into account build configuration from e.g. config.toml. | |
| 34 | /// into account build configuration from e.g. bootstrap.toml. | |
| 35 | 35 | pub struct Builder<'a> { |
| 36 | /// Build configuration from e.g. config.toml. | |
| 36 | /// Build configuration from e.g. bootstrap.toml. | |
| 37 | 37 | pub build: &'a Build, |
| 38 | 38 | |
| 39 | 39 | /// The stage to use. Either implicitly determined based on subcommand, or |
| ... | ... | @@ -332,7 +332,7 @@ impl PathSet { |
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | const PATH_REMAP: &[(&str, &[&str])] = &[ |
| 335 | // config.toml uses `rust-analyzer-proc-macro-srv`, but the | |
| 335 | // bootstrap.toml uses `rust-analyzer-proc-macro-srv`, but the | |
| 336 | 336 | // actual path is `proc-macro-srv-cli` |
| 337 | 337 | ("rust-analyzer-proc-macro-srv", &["src/tools/rust-analyzer/crates/proc-macro-srv-cli"]), |
| 338 | 338 | // Make `x test tests` function the same as `x t tests/*` |
src/bootstrap/src/core/config/config.rs+32-21| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | //! Serialized configuration of a build. |
| 2 | 2 | //! |
| 3 | //! This module implements parsing `config.toml` configuration files to tweak | |
| 3 | //! This module implements parsing `bootstrap.toml` configuration files to tweak | |
| 4 | 4 | //! how the build runs. |
| 5 | 5 | |
| 6 | 6 | use std::cell::{Cell, RefCell}; |
| ... | ... | @@ -64,7 +64,7 @@ macro_rules! check_ci_llvm { |
| 64 | 64 | /// useful in scenarios where developers want to see how the tarball sources were |
| 65 | 65 | /// generated. |
| 66 | 66 | /// |
| 67 | /// We also use this file to compare the host's config.toml against the CI rustc builder | |
| 67 | /// We also use this file to compare the host's bootstrap.toml against the CI rustc builder | |
| 68 | 68 | /// configuration to detect any incompatible options. |
| 69 | 69 | pub(crate) const BUILDER_CONFIG_FILENAME: &str = "builder-config"; |
| 70 | 70 | |
| ... | ... | @@ -184,12 +184,12 @@ pub enum GccCiMode { |
| 184 | 184 | |
| 185 | 185 | /// Global configuration for the entire build and/or bootstrap. |
| 186 | 186 | /// |
| 187 | /// This structure is parsed from `config.toml`, and some of the fields are inferred from `git` or build-time parameters. | |
| 187 | /// This structure is parsed from `bootstrap.toml`, and some of the fields are inferred from `git` or build-time parameters. | |
| 188 | 188 | /// |
| 189 | 189 | /// Note that this structure is not decoded directly into, but rather it is |
| 190 | 190 | /// filled out from the decoded forms of the structs below. For documentation |
| 191 | 191 | /// each field, see the corresponding fields in |
| 192 | /// `config.example.toml`. | |
| 192 | /// `bootstrap.example.toml`. | |
| 193 | 193 | #[derive(Default, Clone)] |
| 194 | 194 | pub struct Config { |
| 195 | 195 | pub change_id: Option<usize>, |
| ... | ... | @@ -235,7 +235,7 @@ pub struct Config { |
| 235 | 235 | pub keep_stage: Vec<u32>, |
| 236 | 236 | pub keep_stage_std: Vec<u32>, |
| 237 | 237 | pub src: PathBuf, |
| 238 | /// defaults to `config.toml` | |
| 238 | /// defaults to `bootstrap.toml` | |
| 239 | 239 | pub config: Option<PathBuf>, |
| 240 | 240 | pub jobs: Option<u32>, |
| 241 | 241 | pub cmd: Subcommand, |
| ... | ... | @@ -470,7 +470,7 @@ impl std::str::FromStr for SplitDebuginfo { |
| 470 | 470 | |
| 471 | 471 | impl SplitDebuginfo { |
| 472 | 472 | /// Returns the default `-Csplit-debuginfo` value for the current target. See the comment for |
| 473 | /// `rust.split-debuginfo` in `config.example.toml`. | |
| 473 | /// `rust.split-debuginfo` in `bootstrap.example.toml`. | |
| 474 | 474 | fn default_for_platform(target: TargetSelection) -> Self { |
| 475 | 475 | if target.contains("apple") { |
| 476 | 476 | SplitDebuginfo::Unpacked |
| ... | ... | @@ -677,7 +677,7 @@ impl Target { |
| 677 | 677 | target |
| 678 | 678 | } |
| 679 | 679 | } |
| 680 | /// Structure of the `config.toml` file that configuration is read from. | |
| 680 | /// Structure of the `bootstrap.toml` file that configuration is read from. | |
| 681 | 681 | /// |
| 682 | 682 | /// This structure uses `Decodable` to automatically decode a TOML configuration |
| 683 | 683 | /// file into this format, and then this is traversed and written into the above |
| ... | ... | @@ -1485,26 +1485,35 @@ impl Config { |
| 1485 | 1485 | |
| 1486 | 1486 | config.stage0_metadata = build_helper::stage0_parser::parse_stage0_file(); |
| 1487 | 1487 | |
| 1488 | // Find configuration file, with the following cascading fallback (first match wins): | |
| 1489 | // - `--config <path>` | |
| 1490 | // - `RUST_BOOTSTRAP_CONFIG` | |
| 1491 | // - `./config.toml` | |
| 1492 | // - `config.toml` in the root directory. | |
| 1488 | // Locate the configuration file using the following priority (first match wins): | |
| 1489 | // 1. `--config <path>` (explicit flag) | |
| 1490 | // 2. `RUST_BOOTSTRAP_CONFIG` environment variable | |
| 1491 | // 3. `./bootstrap.toml` (local file) | |
| 1492 | // 4. `<root>/bootstrap.toml` | |
| 1493 | // 5. `./config.toml` (fallback for backward compatibility) | |
| 1494 | // 6. `<root>/config.toml` | |
| 1493 | 1495 | let toml_path = flags |
| 1494 | 1496 | .config |
| 1495 | 1497 | .clone() |
| 1496 | 1498 | .or_else(|| env::var_os("RUST_BOOTSTRAP_CONFIG").map(PathBuf::from)); |
| 1497 | 1499 | let using_default_path = toml_path.is_none(); |
| 1498 | let mut toml_path = toml_path.unwrap_or_else(|| PathBuf::from("config.toml")); | |
| 1500 | let mut toml_path = toml_path.unwrap_or_else(|| PathBuf::from("bootstrap.toml")); | |
| 1501 | ||
| 1499 | 1502 | if using_default_path && !toml_path.exists() { |
| 1500 | toml_path = config.src.join(toml_path); | |
| 1503 | toml_path = config.src.join(PathBuf::from("bootstrap.toml")); | |
| 1504 | if !toml_path.exists() { | |
| 1505 | toml_path = PathBuf::from("config.toml"); | |
| 1506 | if !toml_path.exists() { | |
| 1507 | toml_path = config.src.join(PathBuf::from("config.toml")); | |
| 1508 | } | |
| 1509 | } | |
| 1501 | 1510 | } |
| 1502 | 1511 | |
| 1503 | 1512 | let file_content = t!(fs::read_to_string(config.src.join("src/ci/channel"))); |
| 1504 | 1513 | let ci_channel = file_content.trim_end(); |
| 1505 | 1514 | |
| 1506 | 1515 | // Give a hard error if `--config` or `RUST_BOOTSTRAP_CONFIG` are set to a missing path, |
| 1507 | // but not if `config.toml` hasn't been created. | |
| 1516 | // but not if `bootstrap.toml` hasn't been created. | |
| 1508 | 1517 | let mut toml = if !using_default_path || toml_path.exists() { |
| 1509 | 1518 | config.config = Some(if cfg!(not(test)) { |
| 1510 | 1519 | toml_path.canonicalize().unwrap() |
| ... | ... | @@ -1525,7 +1534,7 @@ impl Config { |
| 1525 | 1534 | // same ones used to call the tests (if custom ones are not defined in the toml). If we |
| 1526 | 1535 | // don't do that, bootstrap will use its own detection logic to find a suitable rustc |
| 1527 | 1536 | // and Cargo, which doesn't work when the caller is specìfying a custom local rustc or |
| 1528 | // Cargo in their config.toml. | |
| 1537 | // Cargo in their bootstrap.toml. | |
| 1529 | 1538 | let build = toml.build.get_or_insert_with(Default::default); |
| 1530 | 1539 | build.rustc = build.rustc.take().or(std::env::var_os("RUSTC").map(|p| p.into())); |
| 1531 | 1540 | build.cargo = build.cargo.take().or(std::env::var_os("CARGO").map(|p| p.into())); |
| ... | ... | @@ -1548,7 +1557,7 @@ impl Config { |
| 1548 | 1557 | include_path.push("src"); |
| 1549 | 1558 | include_path.push("bootstrap"); |
| 1550 | 1559 | include_path.push("defaults"); |
| 1551 | include_path.push(format!("config.{include}.toml")); | |
| 1560 | include_path.push(format!("bootstrap.{include}.toml")); | |
| 1552 | 1561 | let included_toml = get_toml(&include_path).unwrap_or_else(|e| { |
| 1553 | 1562 | eprintln!( |
| 1554 | 1563 | "ERROR: Failed to parse default config profile at '{}': {e}", |
| ... | ... | @@ -2030,7 +2039,7 @@ impl Config { |
| 2030 | 2039 | config.description = description; |
| 2031 | 2040 | |
| 2032 | 2041 | // We need to override `rust.channel` if it's manually specified when using the CI rustc. |
| 2033 | // This is because if the compiler uses a different channel than the one specified in config.toml, | |
| 2042 | // This is because if the compiler uses a different channel than the one specified in bootstrap.toml, | |
| 2034 | 2043 | // tests may fail due to using a different channel than the one used by the compiler during tests. |
| 2035 | 2044 | if let Some(commit) = &config.download_rustc_commit { |
| 2036 | 2045 | if is_user_configured_rust_channel { |
| ... | ... | @@ -2655,7 +2664,7 @@ impl Config { |
| 2655 | 2664 | return None; |
| 2656 | 2665 | }, |
| 2657 | 2666 | Err(e) => { |
| 2658 | eprintln!("ERROR: Failed to parse CI rustc config.toml: {e}"); | |
| 2667 | eprintln!("ERROR: Failed to parse CI rustc bootstrap.toml: {e}"); | |
| 2659 | 2668 | exit!(2); |
| 2660 | 2669 | }, |
| 2661 | 2670 | }; |
| ... | ... | @@ -2818,7 +2827,7 @@ impl Config { |
| 2818 | 2827 | /// |
| 2819 | 2828 | /// `relative_path` should be relative to the root of the git repository, not an absolute path. |
| 2820 | 2829 | /// |
| 2821 | /// This *does not* update the submodule if `config.toml` explicitly says | |
| 2830 | /// This *does not* update the submodule if `bootstrap.toml` explicitly says | |
| 2822 | 2831 | /// not to, or if we're not in a git repository (like a plain source |
| 2823 | 2832 | /// tarball). Typically [`crate::Build::require_submodule`] should be |
| 2824 | 2833 | /// used instead to provide a nice error to the user if the submodule is |
| ... | ... | @@ -3042,7 +3051,9 @@ impl Config { |
| 3042 | 3051 | } |
| 3043 | 3052 | println!("ERROR: could not find commit hash for downloading rustc"); |
| 3044 | 3053 | println!("HELP: maybe your repository history is too shallow?"); |
| 3045 | println!("HELP: consider setting `rust.download-rustc=false` in config.toml"); | |
| 3054 | println!( | |
| 3055 | "HELP: consider setting `rust.download-rustc=false` in bootstrap.toml" | |
| 3056 | ); | |
| 3046 | 3057 | println!("HELP: or fetch enough history to include one upstream commit"); |
| 3047 | 3058 | crate::exit!(1); |
| 3048 | 3059 | } |
src/bootstrap/src/core/config/flags.rs+4-4| ... | ... | @@ -54,7 +54,7 @@ pub struct Flags { |
| 54 | 54 | /// TOML configuration file for build |
| 55 | 55 | pub config: Option<PathBuf>, |
| 56 | 56 | #[arg(global = true, long, value_hint = clap::ValueHint::DirPath, value_name = "DIR")] |
| 57 | /// Build directory, overrides `build.build-dir` in `config.toml` | |
| 57 | /// Build directory, overrides `build.build-dir` in `bootstrap.toml` | |
| 58 | 58 | pub build_dir: Option<PathBuf>, |
| 59 | 59 | |
| 60 | 60 | #[arg(global = true, long, value_hint = clap::ValueHint::Other, value_name = "BUILD")] |
| ... | ... | @@ -173,7 +173,7 @@ pub struct Flags { |
| 173 | 173 | #[arg(global = true)] |
| 174 | 174 | /// paths for the subcommand |
| 175 | 175 | pub paths: Vec<PathBuf>, |
| 176 | /// override options in config.toml | |
| 176 | /// override options in bootstrap.toml | |
| 177 | 177 | #[arg(global = true, value_hint = clap::ValueHint::Other, long, value_name = "section.option=value")] |
| 178 | 178 | pub set: Vec<String>, |
| 179 | 179 | /// arguments passed to subcommands |
| ... | ... | @@ -448,7 +448,7 @@ pub enum Subcommand { |
| 448 | 448 | /// Set up the environment for development |
| 449 | 449 | #[command(long_about = format!( |
| 450 | 450 | "\n |
| 451 | x.py setup creates a `config.toml` which changes the defaults for x.py itself, | |
| 451 | x.py setup creates a `bootstrap.toml` which changes the defaults for x.py itself, | |
| 452 | 452 | as well as setting up a git pre-push hook, VS Code config and toolchain link. |
| 453 | 453 | Arguments: |
| 454 | 454 | This subcommand accepts a 'profile' to use for builds. For example: |
| ... | ... | @@ -461,7 +461,7 @@ Arguments: |
| 461 | 461 | ./x.py setup editor |
| 462 | 462 | ./x.py setup link", Profile::all_for_help(" ").trim_end()))] |
| 463 | 463 | Setup { |
| 464 | /// Either the profile for `config.toml` or another setup action. | |
| 464 | /// Either the profile for `bootstrap.toml` or another setup action. | |
| 465 | 465 | /// May be omitted to set up interactively |
| 466 | 466 | #[arg(value_name = "<PROFILE>|hook|editor|link")] |
| 467 | 467 | profile: Option<PathBuf>, |
src/bootstrap/src/core/config/tests.rs+12-10| ... | ... | @@ -69,7 +69,7 @@ fn detect_src_and_out() { |
| 69 | 69 | let expected_src = manifest_dir.ancestors().nth(2).unwrap(); |
| 70 | 70 | assert_eq!(&cfg.src, expected_src); |
| 71 | 71 | |
| 72 | // test if build-dir was manually given in config.toml | |
| 72 | // test if build-dir was manually given in bootstrap.toml | |
| 73 | 73 | if let Some(custom_build_dir) = build_dir { |
| 74 | 74 | assert_eq!(&cfg.out, Path::new(custom_build_dir)); |
| 75 | 75 | } |
| ... | ... | @@ -229,13 +229,15 @@ fn override_toml_duplicate() { |
| 229 | 229 | #[test] |
| 230 | 230 | fn profile_user_dist() { |
| 231 | 231 | fn get_toml(file: &Path) -> Result<TomlConfig, toml::de::Error> { |
| 232 | let contents = | |
| 233 | if file.ends_with("config.toml") || env::var_os("RUST_BOOTSTRAP_CONFIG").is_some() { | |
| 234 | "profile = \"user\"".to_owned() | |
| 235 | } else { | |
| 236 | assert!(file.ends_with("config.dist.toml")); | |
| 237 | std::fs::read_to_string(file).unwrap() | |
| 238 | }; | |
| 232 | let contents = if file.ends_with("bootstrap.toml") | |
| 233 | || file.ends_with("config.toml") | |
| 234 | || env::var_os("RUST_BOOTSTRAP_CONFIG").is_some() | |
| 235 | { | |
| 236 | "profile = \"user\"".to_owned() | |
| 237 | } else { | |
| 238 | assert!(file.ends_with("config.dist.toml") || file.ends_with("bootstrap.dist.toml")); | |
| 239 | std::fs::read_to_string(file).unwrap() | |
| 240 | }; | |
| 239 | 241 | |
| 240 | 242 | toml::from_str(&contents).and_then(|table: toml::Value| TomlConfig::deserialize(table)) |
| 241 | 243 | } |
| ... | ... | @@ -402,7 +404,7 @@ fn jobs_precedence() { |
| 402 | 404 | ); |
| 403 | 405 | assert_eq!(config.jobs, Some(67890)); |
| 404 | 406 | |
| 405 | // `--set build.jobs` should take precedence over `config.toml`. | |
| 407 | // `--set build.jobs` should take precedence over `bootstrap.toml`. | |
| 406 | 408 | let config = Config::parse_inner( |
| 407 | 409 | Flags::parse(&[ |
| 408 | 410 | "check".to_owned(), |
| ... | ... | @@ -420,7 +422,7 @@ fn jobs_precedence() { |
| 420 | 422 | ); |
| 421 | 423 | assert_eq!(config.jobs, Some(12345)); |
| 422 | 424 | |
| 423 | // `--jobs` > `--set build.jobs` > `config.toml` | |
| 425 | // `--jobs` > `--set build.jobs` > `bootstrap.toml` | |
| 424 | 426 | let config = Config::parse_inner( |
| 425 | 427 | Flags::parse(&[ |
| 426 | 428 | "check".to_owned(), |
src/bootstrap/src/core/download.rs+5-5| ... | ... | @@ -124,7 +124,7 @@ impl Config { |
| 124 | 124 | if let Ok(in_nix_shell) = in_nix_shell { |
| 125 | 125 | eprintln!( |
| 126 | 126 | "The IN_NIX_SHELL environment variable is `{in_nix_shell}`; \ |
| 127 | you may need to set `patch-binaries-for-nix=true` in config.toml" | |
| 127 | you may need to set `patch-binaries-for-nix=true` in bootstrap.toml" | |
| 128 | 128 | ); |
| 129 | 129 | } |
| 130 | 130 | } |
| ... | ... | @@ -699,7 +699,7 @@ impl Config { |
| 699 | 699 | help_on_error = "ERROR: failed to download pre-built rustc from CI |
| 700 | 700 | |
| 701 | 701 | NOTE: old builds get deleted after a certain time |
| 702 | HELP: if trying to compile an old commit of rustc, disable `download-rustc` in config.toml: | |
| 702 | HELP: if trying to compile an old commit of rustc, disable `download-rustc` in bootstrap.toml: | |
| 703 | 703 | |
| 704 | 704 | [rust] |
| 705 | 705 | download-rustc = false |
| ... | ... | @@ -783,7 +783,7 @@ download-rustc = false |
| 783 | 783 | println!("HELP: Consider rebasing to a newer commit if available."); |
| 784 | 784 | } |
| 785 | 785 | Err(e) => { |
| 786 | eprintln!("ERROR: Failed to parse CI LLVM config.toml: {e}"); | |
| 786 | eprintln!("ERROR: Failed to parse CI LLVM bootstrap.toml: {e}"); | |
| 787 | 787 | exit!(2); |
| 788 | 788 | } |
| 789 | 789 | }; |
| ... | ... | @@ -816,7 +816,7 @@ download-rustc = false |
| 816 | 816 | HELP: There could be two reasons behind this: |
| 817 | 817 | 1) The host triple is not supported for `download-ci-llvm`. |
| 818 | 818 | 2) Old builds get deleted after a certain time. |
| 819 | HELP: In either case, disable `download-ci-llvm` in your config.toml: | |
| 819 | HELP: In either case, disable `download-ci-llvm` in your bootstrap.toml: | |
| 820 | 820 | |
| 821 | 821 | [llvm] |
| 822 | 822 | download-ci-llvm = false |
| ... | ... | @@ -845,7 +845,7 @@ download-rustc = false |
| 845 | 845 | HELP: There could be two reasons behind this: |
| 846 | 846 | 1) The host triple is not supported for `download-ci-gcc`. |
| 847 | 847 | 2) Old builds get deleted after a certain time. |
| 848 | HELP: In either case, disable `download-ci-gcc` in your config.toml: | |
| 848 | HELP: In either case, disable `download-ci-gcc` in your bootstrap.toml: | |
| 849 | 849 | |
| 850 | 850 | [gcc] |
| 851 | 851 | download-ci-gcc = false |
src/bootstrap/src/core/sanity.rs+2-2| ... | ... | @@ -153,7 +153,7 @@ pub fn check(build: &mut Build) { |
| 153 | 153 | Couldn't find required command: cmake |
| 154 | 154 | |
| 155 | 155 | You should install cmake, or set `download-ci-llvm = true` in the |
| 156 | `[llvm]` section of `config.toml` to download LLVM rather | |
| 156 | `[llvm]` section of `bootstrap.toml` to download LLVM rather | |
| 157 | 157 | than building it. |
| 158 | 158 | " |
| 159 | 159 | ); |
| ... | ... | @@ -339,7 +339,7 @@ than building it. |
| 339 | 339 | None => panic!( |
| 340 | 340 | "when targeting MUSL either the rust.musl-root \ |
| 341 | 341 | option or the target.$TARGET.musl-root option must \ |
| 342 | be specified in config.toml" | |
| 342 | be specified in bootstrap.toml" | |
| 343 | 343 | ), |
| 344 | 344 | } |
| 345 | 345 | } |
src/bootstrap/src/lib.rs+4-4| ... | ... | @@ -143,7 +143,7 @@ pub enum GitRepo { |
| 143 | 143 | /// organize). |
| 144 | 144 | #[derive(Clone)] |
| 145 | 145 | pub struct Build { |
| 146 | /// User-specified configuration from `config.toml`. | |
| 146 | /// User-specified configuration from `bootstrap.toml`. | |
| 147 | 147 | config: Config, |
| 148 | 148 | |
| 149 | 149 | // Version information |
| ... | ... | @@ -538,7 +538,7 @@ impl Build { |
| 538 | 538 | /// This avoids contributors checking in a submodule change by accident. |
| 539 | 539 | fn update_existing_submodules(&self) { |
| 540 | 540 | // Avoid running git when there isn't a git checkout, or the user has |
| 541 | // explicitly disabled submodules in `config.toml`. | |
| 541 | // explicitly disabled submodules in `bootstrap.toml`. | |
| 542 | 542 | if !self.config.submodules() { |
| 543 | 543 | return; |
| 544 | 544 | } |
| ... | ... | @@ -671,7 +671,7 @@ impl Build { |
| 671 | 671 | } |
| 672 | 672 | |
| 673 | 673 | /// Gets the space-separated set of activated features for the standard library. |
| 674 | /// This can be configured with the `std-features` key in config.toml. | |
| 674 | /// This can be configured with the `std-features` key in bootstrap.toml. | |
| 675 | 675 | fn std_features(&self, target: TargetSelection) -> String { |
| 676 | 676 | let mut features: BTreeSet<&str> = |
| 677 | 677 | self.config.rust_std_features.iter().map(|s| s.as_str()).collect(); |
| ... | ... | @@ -1925,7 +1925,7 @@ Couldn't find required command: ninja (or ninja-build) |
| 1925 | 1925 | |
| 1926 | 1926 | You should install ninja as described at |
| 1927 | 1927 | <https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>, |
| 1928 | or set `ninja = false` in the `[llvm]` section of `config.toml`. | |
| 1928 | or set `ninja = false` in the `[llvm]` section of `bootstrap.toml`. | |
| 1929 | 1929 | Alternatively, set `download-ci-llvm = true` in that `[llvm]` section |
| 1930 | 1930 | to download LLVM rather than building it. |
| 1931 | 1931 | " |
src/bootstrap/src/utils/cc_detect.rs+5-5| ... | ... | @@ -4,8 +4,8 @@ |
| 4 | 4 | //! C and C++ compilers for each target configured. A compiler is found through |
| 5 | 5 | //! a number of vectors (in order of precedence) |
| 6 | 6 | //! |
| 7 | //! 1. Configuration via `target.$target.cc` in `config.toml`. | |
| 8 | //! 2. Configuration via `target.$target.android-ndk` in `config.toml`, if | |
| 7 | //! 1. Configuration via `target.$target.cc` in `bootstrap.toml`. | |
| 8 | //! 2. Configuration via `target.$target.android-ndk` in `bootstrap.toml`, if | |
| 9 | 9 | //! applicable |
| 10 | 10 | //! 3. Special logic to probe on OpenBSD |
| 11 | 11 | //! 4. The `CC_$target` environment variable. |
| ... | ... | @@ -122,7 +122,7 @@ pub fn find(build: &Build) { |
| 122 | 122 | |
| 123 | 123 | /// Probes and configures the C and C++ compilers for a single target. |
| 124 | 124 | /// |
| 125 | /// This function uses both user-specified configuration (from `config.toml`) and auto-detection | |
| 125 | /// This function uses both user-specified configuration (from `bootstrap.toml`) and auto-detection | |
| 126 | 126 | /// logic to determine the correct C/C++ compilers for the target. It also determines the appropriate |
| 127 | 127 | /// archiver (`ar`) and sets up additional compilation flags (both handled and unhandled). |
| 128 | 128 | pub fn find_target(build: &Build, target: TargetSelection) { |
| ... | ... | @@ -186,7 +186,7 @@ pub fn find_target(build: &Build, target: TargetSelection) { |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /// Determines the default compiler for a given target and language when not explicitly |
| 189 | /// configured in `config.toml`. | |
| 189 | /// configured in `bootstrap.toml`. | |
| 190 | 190 | fn default_compiler( |
| 191 | 191 | cfg: &mut cc::Build, |
| 192 | 192 | compiler: Language, |
| ... | ... | @@ -195,7 +195,7 @@ fn default_compiler( |
| 195 | 195 | ) -> Option<PathBuf> { |
| 196 | 196 | match &*target.triple { |
| 197 | 197 | // When compiling for android we may have the NDK configured in the |
| 198 | // config.toml in which case we look there. Otherwise the default | |
| 198 | // bootstrap.toml in which case we look there. Otherwise the default | |
| 199 | 199 | // compiler already takes into account the triple in question. |
| 200 | 200 | t if t.contains("android") => { |
| 201 | 201 | build.config.android_ndk.as_ref().map(|ndk| ndk_compiler(compiler, &target.triple, ndk)) |
src/bootstrap/src/utils/change_tracker.rs+5| ... | ... | @@ -385,4 +385,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[ |
| 385 | 385 | severity: ChangeSeverity::Info, |
| 386 | 386 | summary: "Added new option `build.exclude` which works the same way as `--exclude` flag on `x`.", |
| 387 | 387 | }, |
| 388 | ChangeInfo { | |
| 389 | change_id: 137081, | |
| 390 | severity: ChangeSeverity::Warning, | |
| 391 | summary: "The default configuration filename has changed from `config.toml` to `bootstrap.toml`. `config.toml` is deprecated but remains supported for backward compatibility.", | |
| 392 | }, | |
| 388 | 393 | ]; |
src/ci/run.sh+2-2| ... | ... | @@ -229,8 +229,8 @@ trap datecheck EXIT |
| 229 | 229 | # sccache server at the start of the build, but no need to worry if this fails. |
| 230 | 230 | SCCACHE_IDLE_TIMEOUT=10800 sccache --start-server || true |
| 231 | 231 | |
| 232 | # Our build may overwrite config.toml, so we remove it here | |
| 233 | rm -f config.toml | |
| 232 | # Our build may overwrite bootstrap.toml, so we remove it here | |
| 233 | rm -f bootstrap.toml | |
| 234 | 234 | |
| 235 | 235 | $SRC/configure $RUST_CONFIGURE_ARGS |
| 236 | 236 |
src/doc/rustc-dev-guide/src/backend/debugging.md+2-2| ... | ... | @@ -38,7 +38,7 @@ which means that LLVM assertion failures can show up as compiler crashes (not |
| 38 | 38 | ICEs but "real" crashes) and other sorts of weird behavior. If you are |
| 39 | 39 | encountering these, it is a good idea to try using a compiler with LLVM |
| 40 | 40 | assertions enabled - either an "alt" nightly or a compiler you build yourself |
| 41 | by setting `[llvm] assertions=true` in your config.toml - and see whether | |
| 41 | by setting `[llvm] assertions=true` in your bootstrap.toml - and see whether | |
| 42 | 42 | anything turns up. |
| 43 | 43 | |
| 44 | 44 | The rustc build process builds the LLVM tools into |
| ... | ... | @@ -160,7 +160,7 @@ from `./build/<host-triple>/llvm/bin/` with the LLVM IR emitted by rustc. |
| 160 | 160 | When investigating the implementation of LLVM itself, you should be |
| 161 | 161 | aware of its [internal debug infrastructure][llvm-debug]. |
| 162 | 162 | This is provided in LLVM Debug builds, which you enable for rustc |
| 163 | LLVM builds by changing this setting in the config.toml: | |
| 163 | LLVM builds by changing this setting in the bootstrap.toml: | |
| 164 | 164 | ``` |
| 165 | 165 | [llvm] |
| 166 | 166 | # Indicates whether the LLVM assertions are enabled or not |
src/doc/rustc-dev-guide/src/backend/updating-llvm.md+1-1| ... | ... | @@ -144,7 +144,7 @@ so let's go through each in detail. |
| 144 | 144 | Note that `profile = "compiler"` and other defaults set by `./x setup` |
| 145 | 145 | download LLVM from CI instead of building it from source. |
| 146 | 146 | You should disable this temporarily to make sure your changes are being used. |
| 147 | This is done by having the following setting in `config.toml`: | |
| 147 | This is done by having the following setting in `bootstrap.toml`: | |
| 148 | 148 | |
| 149 | 149 | ```toml |
| 150 | 150 | [llvm] |
src/doc/rustc-dev-guide/src/building/compiler-documenting.md+1-1| ... | ... | @@ -36,7 +36,7 @@ like the standard library (std) or the compiler (rustc). |
| 36 | 36 | - Document internal rustc items |
| 37 | 37 | |
| 38 | 38 | Compiler documentation is not built by default. |
| 39 | To create it by default with `x doc`, modify `config.toml`: | |
| 39 | To create it by default with `x doc`, modify `bootstrap.toml`: | |
| 40 | 40 | |
| 41 | 41 | ```toml |
| 42 | 42 | [build] |
src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md+7-7| ... | ... | @@ -159,15 +159,15 @@ similar to the one declared in section [What is `x.py`](#what-is-xpy), but |
| 159 | 159 | it works as an independent process to execute the `x.py` rather than calling the |
| 160 | 160 | shell to run the platform related scripts. |
| 161 | 161 | |
| 162 | ## Create a `config.toml` | |
| 162 | ## Create a `bootstrap.toml` | |
| 163 | 163 | |
| 164 | 164 | To start, run `./x setup` and select the `compiler` defaults. This will do some initialization |
| 165 | and create a `config.toml` for you with reasonable defaults. If you use a different default (which | |
| 165 | and create a `bootstrap.toml` for you with reasonable defaults. If you use a different default (which | |
| 166 | 166 | you'll likely want to do if you want to contribute to an area of rust other than the compiler, such |
| 167 | 167 | as rustdoc), make sure to read information about that default (located in `src/bootstrap/defaults`) |
| 168 | 168 | as the build process may be different for other defaults. |
| 169 | 169 | |
| 170 | Alternatively, you can write `config.toml` by hand. See `config.example.toml` for all the available | |
| 170 | Alternatively, you can write `bootstrap.toml` by hand. See `bootstrap.example.toml` for all the available | |
| 171 | 171 | settings and explanations of them. See `src/bootstrap/defaults` for common settings to change. |
| 172 | 172 | |
| 173 | 173 | If you have already built `rustc` and you change settings related to LLVM, then you may have to |
| ... | ... | @@ -206,7 +206,7 @@ See the chapters on |
| 206 | 206 | Note that building will require a relatively large amount of storage space. |
| 207 | 207 | You may want to have upwards of 10 or 15 gigabytes available to build the compiler. |
| 208 | 208 | |
| 209 | Once you've created a `config.toml`, you are now ready to run | |
| 209 | Once you've created a `bootstrap.toml`, you are now ready to run | |
| 210 | 210 | `x`. There are a lot of options here, but let's start with what is |
| 211 | 211 | probably the best "go to" command for building a local compiler: |
| 212 | 212 | |
| ... | ... | @@ -326,7 +326,7 @@ involve proc macros or build scripts, you must be sure to explicitly build targe |
| 326 | 326 | host platform (in this case, `x86_64-unknown-linux-gnu`). |
| 327 | 327 | |
| 328 | 328 | If you want to always build for other targets without needing to pass flags to `x build`, |
| 329 | you can configure this in the `[build]` section of your `config.toml` like so: | |
| 329 | you can configure this in the `[build]` section of your `bootstrap.toml` like so: | |
| 330 | 330 | |
| 331 | 331 | ```toml |
| 332 | 332 | [build] |
| ... | ... | @@ -336,8 +336,8 @@ target = ["x86_64-unknown-linux-gnu", "wasm32-wasip1"] |
| 336 | 336 | Note that building for some targets requires having external dependencies installed |
| 337 | 337 | (e.g. building musl targets requires a local copy of musl). |
| 338 | 338 | Any target-specific configuration (e.g. the path to a local copy of musl) |
| 339 | will need to be provided by your `config.toml`. | |
| 340 | Please see `config.example.toml` for information on target-specific configuration keys. | |
| 339 | will need to be provided by your `bootstrap.toml`. | |
| 340 | Please see `bootstrap.example.toml` for information on target-specific configuration keys. | |
| 341 | 341 | |
| 342 | 342 | For examples of the complete configuration necessary to build a target, please visit |
| 343 | 343 | [the rustc book](https://doc.rust-lang.org/rustc/platform-support.html), |
src/doc/rustc-dev-guide/src/building/new-target.md+6-6| ... | ... | @@ -37,7 +37,7 @@ able to configure Rust to treat your build as the system LLVM to avoid |
| 37 | 37 | redundant builds. |
| 38 | 38 | |
| 39 | 39 | You can tell Rust to use a pre-built version of LLVM using the `target` section |
| 40 | of `config.toml`: | |
| 40 | of `bootstrap.toml`: | |
| 41 | 41 | |
| 42 | 42 | ```toml |
| 43 | 43 | [target.x86_64-unknown-linux-gnu] |
| ... | ... | @@ -55,8 +55,8 @@ for codegen tests. This tool is normally built with LLVM, but if you use your |
| 55 | 55 | own preinstalled LLVM, you will need to provide `FileCheck` in some other way. |
| 56 | 56 | On Debian-based systems, you can install the `llvm-N-tools` package (where `N` |
| 57 | 57 | is the LLVM version number, e.g. `llvm-8-tools`). Alternately, you can specify |
| 58 | the path to `FileCheck` with the `llvm-filecheck` config item in `config.toml` | |
| 59 | or you can disable codegen test with the `codegen-tests` item in `config.toml`. | |
| 58 | the path to `FileCheck` with the `llvm-filecheck` config item in `bootstrap.toml` | |
| 59 | or you can disable codegen test with the `codegen-tests` item in `bootstrap.toml`. | |
| 60 | 60 | |
| 61 | 61 | ## Creating a target specification |
| 62 | 62 | |
| ... | ... | @@ -141,14 +141,14 @@ After this, run `cargo update -p libc` to update the lockfiles. |
| 141 | 141 | |
| 142 | 142 | Beware that if you patch to a local `path` dependency, this will enable |
| 143 | 143 | warnings for that dependency. Some dependencies are not warning-free, and due |
| 144 | to the `deny-warnings` setting in `config.toml`, the build may suddenly start | |
| 144 | to the `deny-warnings` setting in `bootstrap.toml`, the build may suddenly start | |
| 145 | 145 | to fail. |
| 146 | 146 | To work around warnings, you may want to: |
| 147 | 147 | - Modify the dependency to remove the warnings |
| 148 | - Or for local development purposes, suppress the warnings by setting deny-warnings = false in config.toml. | |
| 148 | - Or for local development purposes, suppress the warnings by setting deny-warnings = false in bootstrap.toml. | |
| 149 | 149 | |
| 150 | 150 | ```toml |
| 151 | # config.toml | |
| 151 | # bootstrap.toml | |
| 152 | 152 | [rust] |
| 153 | 153 | deny-warnings = false |
| 154 | 154 | ``` |
src/doc/rustc-dev-guide/src/building/optimized-build.md+4-4| ... | ... | @@ -13,7 +13,7 @@ This page describes how you can use these approaches when building `rustc` yours |
| 13 | 13 | |
| 14 | 14 | Link-time optimization is a powerful compiler technique that can increase program performance. To |
| 15 | 15 | enable (Thin-)LTO when building `rustc`, set the `rust.lto` config option to `"thin"` |
| 16 | in `config.toml`: | |
| 16 | in `bootstrap.toml`: | |
| 17 | 17 | |
| 18 | 18 | ```toml |
| 19 | 19 | [rust] |
| ... | ... | @@ -34,7 +34,7 @@ Enabling LTO on Linux has [produced] speed-ups by up to 10%. |
| 34 | 34 | |
| 35 | 35 | Using a different memory allocator for `rustc` can provide significant performance benefits. If you |
| 36 | 36 | want to enable the `jemalloc` allocator, you can set the `rust.jemalloc` option to `true` |
| 37 | in `config.toml`: | |
| 37 | in `bootstrap.toml`: | |
| 38 | 38 | |
| 39 | 39 | ```toml |
| 40 | 40 | [rust] |
| ... | ... | @@ -46,7 +46,7 @@ jemalloc = true |
| 46 | 46 | ## Codegen units |
| 47 | 47 | |
| 48 | 48 | Reducing the amount of codegen units per `rustc` crate can produce a faster build of the compiler. |
| 49 | You can modify the number of codegen units for `rustc` and `libstd` in `config.toml` with the | |
| 49 | You can modify the number of codegen units for `rustc` and `libstd` in `bootstrap.toml` with the | |
| 50 | 50 | following options: |
| 51 | 51 | |
| 52 | 52 | ```toml |
| ... | ... | @@ -67,7 +67,7 @@ RUSTFLAGS="-C target_cpu=x86-64-v3" ./x build ... |
| 67 | 67 | ``` |
| 68 | 68 | |
| 69 | 69 | If you also want to compile LLVM for a specific instruction set, you can set `llvm` flags |
| 70 | in `config.toml`: | |
| 70 | in `bootstrap.toml`: | |
| 71 | 71 | |
| 72 | 72 | ```toml |
| 73 | 73 | [llvm] |
src/doc/rustc-dev-guide/src/building/suggested.md+5-5| ... | ... | @@ -305,7 +305,7 @@ subsequent rebuilds: |
| 305 | 305 | ``` |
| 306 | 306 | |
| 307 | 307 | If you don't want to include the flag with every command, you can enable it in |
| 308 | the `config.toml`: | |
| 308 | the `bootstrap.toml`: | |
| 309 | 309 | |
| 310 | 310 | ```toml |
| 311 | 311 | [rust] |
| ... | ... | @@ -384,20 +384,20 @@ ln -s ./src/tools/nix-dev-shell/envrc-shell ./.envrc # Use nix-shell |
| 384 | 384 | ### Note |
| 385 | 385 | |
| 386 | 386 | Note that when using nix on a not-NixOS distribution, it may be necessary to set |
| 387 | **`patch-binaries-for-nix = true` in `config.toml`**. Bootstrap tries to detect | |
| 387 | **`patch-binaries-for-nix = true` in `bootstrap.toml`**. Bootstrap tries to detect | |
| 388 | 388 | whether it's running in nix and enable patching automatically, but this |
| 389 | 389 | detection can have false negatives. |
| 390 | 390 | |
| 391 | You can also use your nix shell to manage `config.toml`: | |
| 391 | You can also use your nix shell to manage `bootstrap.toml`: | |
| 392 | 392 | |
| 393 | 393 | ```nix |
| 394 | 394 | let |
| 395 | 395 | config = pkgs.writeText "rustc-config" '' |
| 396 | # Your config.toml content goes here | |
| 396 | # Your bootstrap.toml content goes here | |
| 397 | 397 | '' |
| 398 | 398 | pkgs.mkShell { |
| 399 | 399 | /* ... */ |
| 400 | # This environment variable tells bootstrap where our config.toml is. | |
| 400 | # This environment variable tells bootstrap where our bootstrap.toml is. | |
| 401 | 401 | RUST_BOOTSTRAP_CONFIG = config; |
| 402 | 402 | } |
| 403 | 403 | ``` |
src/doc/rustc-dev-guide/src/compiler-debugging.md+5-5| ... | ... | @@ -11,13 +11,13 @@ chapter](./backend/debugging.md)). |
| 11 | 11 | ## Configuring the compiler |
| 12 | 12 | |
| 13 | 13 | By default, rustc is built without most debug information. To enable debug info, |
| 14 | set `debug = true` in your config.toml. | |
| 14 | set `debug = true` in your bootstrap.toml. | |
| 15 | 15 | |
| 16 | 16 | Setting `debug = true` turns on many different debug options (e.g., `debug-assertions`, |
| 17 | 17 | `debug-logging`, etc.) which can be individually tweaked if you want to, but many people |
| 18 | 18 | simply set `debug = true`. |
| 19 | 19 | |
| 20 | If you want to use GDB to debug rustc, please set `config.toml` with options: | |
| 20 | If you want to use GDB to debug rustc, please set `bootstrap.toml` with options: | |
| 21 | 21 | |
| 22 | 22 | ```toml |
| 23 | 23 | [rust] |
| ... | ... | @@ -35,14 +35,14 @@ debuginfo-level = 2 |
| 35 | 35 | |
| 36 | 36 | The default configuration will enable `symbol-mangling-version` v0. |
| 37 | 37 | This requires at least GDB v10.2, |
| 38 | otherwise you need to disable new symbol-mangling-version in `config.toml`. | |
| 38 | otherwise you need to disable new symbol-mangling-version in `bootstrap.toml`. | |
| 39 | 39 | |
| 40 | 40 | ```toml |
| 41 | 41 | [rust] |
| 42 | 42 | new-symbol-mangling = false |
| 43 | 43 | ``` |
| 44 | 44 | |
| 45 | > See the comments in `config.example.toml` for more info. | |
| 45 | > See the comments in `bootstrap.example.toml` for more info. | |
| 46 | 46 | |
| 47 | 47 | You will need to rebuild the compiler after changing any configuration option. |
| 48 | 48 | |
| ... | ... | @@ -373,7 +373,7 @@ error: aborting due to previous error |
| 373 | 373 | |
| 374 | 374 | ## Configuring CodeLLDB for debugging `rustc` |
| 375 | 375 | |
| 376 | If you are using VSCode, and have edited your `config.toml` to request debugging | |
| 376 | If you are using VSCode, and have edited your `bootstrap.toml` to request debugging | |
| 377 | 377 | level 1 or 2 for the parts of the code you're interested in, then you should be |
| 378 | 378 | able to use the [CodeLLDB] extension in VSCode to debug it. |
| 379 | 379 |
src/doc/rustc-dev-guide/src/fuzzing.md+1-1| ... | ... | @@ -123,7 +123,7 @@ what actually results in superior throughput. |
| 123 | 123 | You may want to build rustc from source with debug assertions to find |
| 124 | 124 | additional bugs, though this is a trade-off: it can slow down fuzzing by |
| 125 | 125 | requiring extra work for every execution. To enable debug assertions, add this |
| 126 | to `config.toml` when compiling rustc: | |
| 126 | to `bootstrap.toml` when compiling rustc: | |
| 127 | 127 | |
| 128 | 128 | ```toml |
| 129 | 129 | [rust] |
src/doc/rustc-dev-guide/src/llvm-coverage-instrumentation.md+3-3| ... | ... | @@ -34,7 +34,7 @@ Detailed instructions and examples are documented in the |
| 34 | 34 | [coverage map]: https://llvm.org/docs/CoverageMappingFormat.html |
| 35 | 35 | [rustc-book-instrument-coverage]: https://doc.rust-lang.org/nightly/rustc/instrument-coverage.html |
| 36 | 36 | |
| 37 | ## Recommended `config.toml` settings | |
| 37 | ## Recommended `bootstrap.toml` settings | |
| 38 | 38 | |
| 39 | 39 | When working on the coverage instrumentation code, it is usually necessary to |
| 40 | 40 | **enable the profiler runtime** by setting `profiler = true` in `[build]`. |
| ... | ... | @@ -83,7 +83,7 @@ statically links coverage-instrumented binaries with LLVM runtime code |
| 83 | 83 | In the `rustc` source tree, |
| 84 | 84 | `library/profiler_builtins` bundles the LLVM `compiler-rt` code into a Rust library crate. |
| 85 | 85 | Note that when building `rustc`, |
| 86 | `profiler_builtins` is only included when `build.profiler = true` is set in `config.toml`. | |
| 86 | `profiler_builtins` is only included when `build.profiler = true` is set in `bootstrap.toml`. | |
| 87 | 87 | |
| 88 | 88 | When compiling with `-C instrument-coverage`, |
| 89 | 89 | [`CrateLoader::postprocess()`][crate-loader-postprocess] dynamically loads |
| ... | ... | @@ -115,7 +115,7 @@ human-readable coverage report. |
| 115 | 115 | |
| 116 | 116 | > Tests in `coverage-run` mode have an implicit `//@ needs-profiler-runtime` |
| 117 | 117 | > directive, so they will be skipped if the profiler runtime has not been |
| 118 | > [enabled in `config.toml`](#recommended-configtoml-settings). | |
| 118 | > [enabled in `bootstrap.toml`](#recommended-configtoml-settings). | |
| 119 | 119 | |
| 120 | 120 | Finally, the [`tests/codegen/instrument-coverage/testprog.rs`] test compiles a simple Rust program |
| 121 | 121 | with `-C instrument-coverage` and compares the compiled program's LLVM IR to |
src/doc/rustc-dev-guide/src/overview.md+1-1| ... | ... | @@ -351,7 +351,7 @@ approach is to turn [`RefCell`]s into [`Mutex`]s -- that is, we |
| 351 | 351 | switch to thread-safe internal mutability. However, there are ongoing |
| 352 | 352 | challenges with lock contention, maintaining query-system invariants under |
| 353 | 353 | concurrency, and the complexity of the code base. One can try out the current |
| 354 | work by enabling parallel compilation in `config.toml`. It's still early days, | |
| 354 | work by enabling parallel compilation in `bootstrap.toml`. It's still early days, | |
| 355 | 355 | but there are already some promising performance improvements. |
| 356 | 356 | |
| 357 | 357 | [`RefCell`]: https://doc.rust-lang.org/std/cell/struct.RefCell.html |
src/doc/rustc-dev-guide/src/profile-guided-optimization.md+1-1| ... | ... | @@ -120,7 +120,7 @@ The `rustc` version of this can be found in `library/profiler_builtins` which |
| 120 | 120 | basically packs the C code from `compiler-rt` into a Rust crate. |
| 121 | 121 | |
| 122 | 122 | In order for `profiler_builtins` to be built, `profiler = true` must be set |
| 123 | in `rustc`'s `config.toml`. | |
| 123 | in `rustc`'s `bootstrap.toml`. | |
| 124 | 124 | |
| 125 | 125 | [compiler-rt-profile]: https://github.com/llvm/llvm-project/tree/main/compiler-rt/lib/profile |
| 126 | 126 |
src/doc/rustc-dev-guide/src/profiling.md+1-1| ... | ... | @@ -87,7 +87,7 @@ Example output for the compiler: |
| 87 | 87 | |
| 88 | 88 | Since this doesn't seem to work with incremental compilation or `./x check`, |
| 89 | 89 | you will be compiling rustc _a lot_. |
| 90 | I recommend changing a few settings in `config.toml` to make it bearable: | |
| 90 | I recommend changing a few settings in `bootstrap.toml` to make it bearable: | |
| 91 | 91 | ``` |
| 92 | 92 | [rust] |
| 93 | 93 | # A debug build takes _a third_ as long on my machine, |
src/doc/rustc-dev-guide/src/profiling/with_perf.md+1-1| ... | ... | @@ -6,7 +6,7 @@ This is a guide for how to profile rustc with [perf](https://perf.wiki.kernel.or |
| 6 | 6 | |
| 7 | 7 | - Get a clean checkout of rust-lang/master, or whatever it is you want |
| 8 | 8 | to profile. |
| 9 | - Set the following settings in your `config.toml`: | |
| 9 | - Set the following settings in your `bootstrap.toml`: | |
| 10 | 10 | - `debuginfo-level = 1` - enables line debuginfo |
| 11 | 11 | - `jemalloc = false` - lets you do memory use profiling with valgrind |
| 12 | 12 | - leave everything else the defaults |
src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md+1-1| ... | ... | @@ -9,7 +9,7 @@ which will download and build the suite for you, build a local compiler toolchai |
| 9 | 9 | |
| 10 | 10 | You can use the `./x perf <command> [options]` command to use this integration. |
| 11 | 11 | |
| 12 | You can use normal bootstrap flags for this command, such as `--stage 1` or `--stage 2`, for example to modify the stage of the created sysroot. It might also be useful to configure `config.toml` to better support profiling, e.g. set `rust.debuginfo-level = 1` to add source line information to the built compiler. | |
| 12 | You can use normal bootstrap flags for this command, such as `--stage 1` or `--stage 2`, for example to modify the stage of the created sysroot. It might also be useful to configure `bootstrap.toml` to better support profiling, e.g. set `rust.debuginfo-level = 1` to add source line information to the built compiler. | |
| 13 | 13 | |
| 14 | 14 | `x perf` currently supports the following commands: |
| 15 | 15 | - `benchmark <id>`: Benchmark the compiler and store the results under the passed `id`. |
src/doc/rustc-dev-guide/src/profiling/wpa_profiling.md+1-1| ... | ... | @@ -44,7 +44,7 @@ compiler we're using to build rustc will aid our analysis greatly by allowing WP |
| 44 | 44 | symbols correctly. Unfortunately, the stage 0 compiler does not have symbols turned on which is why |
| 45 | 45 | we'll need to build a stage 1 compiler and then a stage 2 compiler ourselves. |
| 46 | 46 | |
| 47 | To do this, make sure you have set `debuginfo-level = 1` in your `config.toml` file. This tells | |
| 47 | To do this, make sure you have set `debuginfo-level = 1` in your `bootstrap.toml` file. This tells | |
| 48 | 48 | rustc to generate debug information which includes stack frames when bootstrapping. |
| 49 | 49 | |
| 50 | 50 | Now you can build the stage 1 compiler: `x build --stage 1 -i library` or however |
src/doc/rustc-dev-guide/src/rustdoc.md+2-2| ... | ... | @@ -58,12 +58,12 @@ does is call the `main()` that's in this crate's `lib.rs`, though.) |
| 58 | 58 | * If you want to copy those docs to a webserver, copy all of |
| 59 | 59 | `build/host/doc`, since that's where the CSS, JS, fonts, and landing |
| 60 | 60 | page are. |
| 61 | * For frontend debugging, disable the `rust.docs-minification` option in [`config.toml`]. | |
| 61 | * For frontend debugging, disable the `rust.docs-minification` option in [`bootstrap.toml`]. | |
| 62 | 62 | * Use `./x test tests/rustdoc*` to run the tests using a stage1 |
| 63 | 63 | rustdoc. |
| 64 | 64 | * See [Rustdoc internals] for more information about tests. |
| 65 | 65 | |
| 66 | [`config.toml`]: ./building/how-to-build-and-run.md | |
| 66 | [`bootstrap.toml`]: ./building/how-to-build-and-run.md | |
| 67 | 67 | |
| 68 | 68 | ## Code structure |
| 69 | 69 |
src/doc/rustc-dev-guide/src/sanitizers.md+2-2| ... | ... | @@ -32,7 +32,7 @@ implementation: |
| 32 | 32 | |
| 33 | 33 | * The sanitizer runtime libraries are part of the [compiler-rt] project, and |
| 34 | 34 | [will be built][sanitizer-build] on [supported targets][sanitizer-targets] |
| 35 | when enabled in `config.toml`: | |
| 35 | when enabled in `bootstrap.toml`: | |
| 36 | 36 | |
| 37 | 37 | ```toml |
| 38 | 38 | [build] |
| ... | ... | @@ -80,7 +80,7 @@ Sanitizers are validated by code generation tests in |
| 80 | 80 | [`tests/ui/sanitizer/`][test-ui] directory. |
| 81 | 81 | |
| 82 | 82 | Testing sanitizer functionality requires the sanitizer runtimes (built when |
| 83 | `sanitizer = true` in `config.toml`) and target providing support for particular | |
| 83 | `sanitizer = true` in `bootstrap.toml`) and target providing support for particular | |
| 84 | 84 | sanitizer. When sanitizer is unsupported on given target, sanitizers tests will |
| 85 | 85 | be ignored. This behaviour is controlled by compiletest `needs-sanitizer-*` |
| 86 | 86 | directives. |
src/doc/rustc-dev-guide/src/tests/ci.md+1-1| ... | ... | @@ -435,7 +435,7 @@ To learn more about the dashboard, see the [Datadog CI docs]. |
| 435 | 435 | |
| 436 | 436 | ## Determining the CI configuration |
| 437 | 437 | |
| 438 | If you want to determine which `config.toml` settings are used in CI for a | |
| 438 | If you want to determine which `bootstrap.toml` settings are used in CI for a | |
| 439 | 439 | particular job, it is probably easiest to just look at the build log. To do |
| 440 | 440 | this: |
| 441 | 441 |
src/doc/rustc-dev-guide/src/tests/compiletest.md+2-2| ... | ... | @@ -525,10 +525,10 @@ data into a human-readable code coverage report. |
| 525 | 525 | |
| 526 | 526 | Instrumented binaries need to be linked against the LLVM profiler runtime, so |
| 527 | 527 | `coverage-run` tests are **automatically skipped** unless the profiler runtime |
| 528 | is enabled in `config.toml`: | |
| 528 | is enabled in `bootstrap.toml`: | |
| 529 | 529 | |
| 530 | 530 | ```toml |
| 531 | # config.toml | |
| 531 | # bootstrap.toml | |
| 532 | 532 | [build] |
| 533 | 533 | profiler = true |
| 534 | 534 | ``` |
src/doc/rustc-dev-guide/src/tests/directives.md+3-3| ... | ... | @@ -160,9 +160,9 @@ settings: |
| 160 | 160 | stable support for `asm!` |
| 161 | 161 | - `needs-profiler-runtime` — ignores the test if the profiler runtime was not |
| 162 | 162 | enabled for the target |
| 163 | (`build.profiler = true` in rustc's `config.toml`) | |
| 163 | (`build.profiler = true` in rustc's `bootstrap.toml`) | |
| 164 | 164 | - `needs-sanitizer-support` — ignores if the sanitizer support was not enabled |
| 165 | for the target (`sanitizers = true` in rustc's `config.toml`) | |
| 165 | for the target (`sanitizers = true` in rustc's `bootstrap.toml`) | |
| 166 | 166 | - `needs-sanitizer-{address,hwaddress,leak,memory,thread}` — ignores if the |
| 167 | 167 | corresponding sanitizer is not enabled for the target (AddressSanitizer, |
| 168 | 168 | hardware-assisted AddressSanitizer, LeakSanitizer, MemorySanitizer or |
| ... | ... | @@ -172,7 +172,7 @@ settings: |
| 172 | 172 | flag, or running on fuchsia. |
| 173 | 173 | - `needs-unwind` — ignores if the target does not support unwinding |
| 174 | 174 | - `needs-rust-lld` — ignores if the rust lld support is not enabled (`rust.lld = |
| 175 | true` in `config.toml`) | |
| 175 | true` in `bootstrap.toml`) | |
| 176 | 176 | - `needs-threads` — ignores if the target does not have threading support |
| 177 | 177 | - `needs-subprocess` — ignores if the target does not have subprocess support |
| 178 | 178 | - `needs-symlink` — ignores if the target does not support symlinks. This can be |
src/doc/rustc-dev-guide/src/tests/docker.md+1-1| ... | ... | @@ -21,7 +21,7 @@ The [`src/ci/docker/run.sh`] script is used to build a specific Docker image, ru |
| 21 | 21 | build Rust within the image, and either run tests or prepare a set of archives designed for distribution. The script will mount your local Rust source tree in read-only mode, and an `obj` directory in read-write mode. All the compiler artifacts will be stored in the `obj` directory. The shell will start out in the `obj`directory. From there, it will execute `../src/ci/run.sh` which starts the build as defined by the Docker image. |
| 22 | 22 | |
| 23 | 23 | You can run `src/ci/docker/run.sh <image-name>` directly. A few important notes regarding the `run.sh` script: |
| 24 | - When executed on CI, the script expects that all submodules are checked out. If some submodule that is accessed by the job is not available, the build will result in an error. You should thus make sure that you have all required submodules checked out locally. You can either do that manually through git, or set `submodules = true` in your `config.toml` and run a command such as `x build` to let bootstrap download the most important submodules (this might not be enough for the given CI job that you are trying to execute though). | |
| 24 | - When executed on CI, the script expects that all submodules are checked out. If some submodule that is accessed by the job is not available, the build will result in an error. You should thus make sure that you have all required submodules checked out locally. You can either do that manually through git, or set `submodules = true` in your `bootstrap.toml` and run a command such as `x build` to let bootstrap download the most important submodules (this might not be enough for the given CI job that you are trying to execute though). | |
| 25 | 25 | - `<image-name>` corresponds to a single directory located in one of the `src/ci/docker/host-*` directories. Note that image name does not necessarily correspond to a job name, as some jobs execute the same image, but with different environment variables or Docker build arguments (this is a part of the complexity that makes it difficult to run CI jobs locally). |
| 26 | 26 | - If you are executing a "dist" job (job beginning with `dist-`), you should set the `DEPLOY=1` environment variable. |
| 27 | 27 | - If you are executing an "alternative dist" job (job beginning with `dist-` and ending with `-alt`), you should set the `DEPLOY_ALT=1` environment variable. |
src/doc/rustc-dev-guide/src/tests/running.md+2-2| ... | ... | @@ -189,7 +189,7 @@ just like when running the tests without the `--bless` flag. |
| 189 | 189 | |
| 190 | 190 | There are a few options for running tests: |
| 191 | 191 | |
| 192 | * `config.toml` has the `rust.verbose-tests` option. If `false`, each test will | |
| 192 | * `bootstrap.toml` has the `rust.verbose-tests` option. If `false`, each test will | |
| 193 | 193 | print a single dot (the default). If `true`, the name of every test will be |
| 194 | 194 | printed. This is equivalent to the `--quiet` option in the [Rust test |
| 195 | 195 | harness](https://doc.rust-lang.org/rustc/tests/). |
| ... | ... | @@ -353,7 +353,7 @@ coordinate running tests (see [src/bootstrap/src/core/build_steps/test.rs]). |
| 353 | 353 | First thing to know is that it only supports linux x86_64 at the moment. We will |
| 354 | 354 | extend its support later on. |
| 355 | 355 | |
| 356 | You need to update `codegen-backends` value in your `config.toml` file in the | |
| 356 | You need to update `codegen-backends` value in your `bootstrap.toml` file in the | |
| 357 | 357 | `[rust]` section and add "gcc" in the array: |
| 358 | 358 | |
| 359 | 359 | ```toml |
src/doc/rustc-dev-guide/src/tracing.md+2-2| ... | ... | @@ -185,11 +185,11 @@ rustc. |
| 185 | 185 | |
| 186 | 186 | While calls to `error!`, `warn!` and `info!` are included in every build of the compiler, |
| 187 | 187 | calls to `debug!` and `trace!` are only included in the program if |
| 188 | `debug-logging=true` is turned on in config.toml (it is | |
| 188 | `debug-logging=true` is turned on in bootstrap.toml (it is | |
| 189 | 189 | turned off by default), so if you don't see `DEBUG` logs, especially |
| 190 | 190 | if you run the compiler with `RUSTC_LOG=rustc rustc some.rs` and only see |
| 191 | 191 | `INFO` logs, make sure that `debug-logging=true` is turned on in your |
| 192 | config.toml. | |
| 192 | bootstrap.toml. | |
| 193 | 193 | |
| 194 | 194 | ## Logging etiquette and conventions |
| 195 | 195 |
src/doc/rustc/src/instrument-coverage.md+1-1| ... | ... | @@ -27,7 +27,7 @@ Rust's source-based code coverage requires the Rust "profiler runtime". Without |
| 27 | 27 | |
| 28 | 28 | The Rust `nightly` distribution channel includes the profiler runtime, by default. |
| 29 | 29 | |
| 30 | > **Important**: If you are building the Rust compiler from the source distribution, the profiler runtime is _not_ enabled in the default `config.example.toml`. Edit your `config.toml` file and ensure the `profiler` feature is set it to `true` (either under the `[build]` section, or under the settings for an individual `[target.<triple>]`): | |
| 30 | > **Important**: If you are building the Rust compiler from the source distribution, the profiler runtime is _not_ enabled in the default `bootstrap.example.toml`. Edit your `bootstrap.toml` file and ensure the `profiler` feature is set it to `true` (either under the `[build]` section, or under the settings for an individual `[target.<triple>]`): | |
| 31 | 31 | > |
| 32 | 32 | > ```toml |
| 33 | 33 | > # Build the profiler runtime (required when compiling with options that depend |
src/doc/rustc/src/platform-support/TEMPLATE.md+1-1| ... | ... | @@ -28,7 +28,7 @@ What format do binaries use by default? ELF, PE, something else? |
| 28 | 28 | ## Building the target |
| 29 | 29 | |
| 30 | 30 | If Rust doesn't build the target by default, how can users build it? Can users |
| 31 | just add it to the `target` list in `config.toml`? | |
| 31 | just add it to the `target` list in `bootstrap.toml`? | |
| 32 | 32 | |
| 33 | 33 | ## Building Rust programs |
| 34 | 34 |
src/doc/rustc/src/platform-support/aarch64-unknown-teeos.md+1-1| ... | ... | @@ -54,7 +54,7 @@ exec /path/to/ohos-sdk/linux/native/llvm/bin/clang++ \ |
| 54 | 54 | |
| 55 | 55 | ## Building the target |
| 56 | 56 | |
| 57 | To build a rust toolchain, create a `config.toml` with the following contents: | |
| 57 | To build a rust toolchain, create a `bootstrap.toml` with the following contents: | |
| 58 | 58 | |
| 59 | 59 | ```toml |
| 60 | 60 | profile = "compiler" |
src/doc/rustc/src/platform-support/apple-ios.md+1-1| ... | ... | @@ -47,7 +47,7 @@ $ rustup target add x86_64-apple-ios |
| 47 | 47 | ``` |
| 48 | 48 | |
| 49 | 49 | The tier 3 targets can be built by enabling them for a `rustc` build in |
| 50 | `config.toml`, by adding, for example: | |
| 50 | `bootstrap.toml`, by adding, for example: | |
| 51 | 51 | |
| 52 | 52 | ```toml |
| 53 | 53 | [build] |
src/doc/rustc/src/platform-support/apple-tvos.md+1-1| ... | ... | @@ -52,7 +52,7 @@ The following APIs are currently known to have missing or incomplete support: |
| 52 | 52 | ## Building the target |
| 53 | 53 | |
| 54 | 54 | The targets can be built by enabling them for a `rustc` build in |
| 55 | `config.toml`, by adding, for example: | |
| 55 | `bootstrap.toml`, by adding, for example: | |
| 56 | 56 | |
| 57 | 57 | ```toml |
| 58 | 58 | [build] |
src/doc/rustc/src/platform-support/apple-visionos.md+1-1| ... | ... | @@ -31,7 +31,7 @@ case `XROS_DEPLOYMENT_TARGET`. |
| 31 | 31 | ## Building the target |
| 32 | 32 | |
| 33 | 33 | The targets can be built by enabling them for a `rustc` build in |
| 34 | `config.toml`, by adding, for example: | |
| 34 | `bootstrap.toml`, by adding, for example: | |
| 35 | 35 | |
| 36 | 36 | ```toml |
| 37 | 37 | [build] |
src/doc/rustc/src/platform-support/apple-watchos.md+1-1| ... | ... | @@ -37,7 +37,7 @@ case `WATCHOS_DEPLOYMENT_TARGET`. |
| 37 | 37 | ## Building the target |
| 38 | 38 | |
| 39 | 39 | The targets can be built by enabling them for a `rustc` build in |
| 40 | `config.toml`, by adding, for example: | |
| 40 | `bootstrap.toml`, by adding, for example: | |
| 41 | 41 | |
| 42 | 42 | ```toml |
| 43 | 43 | [build] |
src/doc/rustc/src/platform-support/arm64e-apple-darwin.md+1-1| ... | ... | @@ -16,7 +16,7 @@ See the docs on [`*-apple-darwin`](apple-darwin.md) for general macOS requiremen |
| 16 | 16 | |
| 17 | 17 | ## Building the target |
| 18 | 18 | |
| 19 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`: | |
| 19 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`: | |
| 20 | 20 | |
| 21 | 21 | ```toml |
| 22 | 22 | [build] |
src/doc/rustc/src/platform-support/arm64e-apple-ios.md+1-1| ... | ... | @@ -14,7 +14,7 @@ See the docs on [`*-apple-ios`](apple-ios.md) for general iOS requirements. |
| 14 | 14 | |
| 15 | 15 | ## Building the target |
| 16 | 16 | |
| 17 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`: | |
| 17 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`: | |
| 18 | 18 | |
| 19 | 19 | ```toml |
| 20 | 20 | [build] |
src/doc/rustc/src/platform-support/arm64e-apple-tvos.md+1-1| ... | ... | @@ -15,7 +15,7 @@ To build this target Xcode 12 or higher on macOS is required. |
| 15 | 15 | |
| 16 | 16 | ## Building the target |
| 17 | 17 | |
| 18 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`: | |
| 18 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`: | |
| 19 | 19 | |
| 20 | 20 | ```toml |
| 21 | 21 | [build] |
src/doc/rustc/src/platform-support/arm64ec-pc-windows-msvc.md+1-1| ... | ... | @@ -56,7 +56,7 @@ To put this in practice: |
| 56 | 56 | ## Building the target |
| 57 | 57 | |
| 58 | 58 | You can build Rust with support for the targets by adding it to the `target` |
| 59 | list in `config.toml`: | |
| 59 | list in `bootstrap.toml`: | |
| 60 | 60 | |
| 61 | 61 | ```toml |
| 62 | 62 | [build] |
src/doc/rustc/src/platform-support/armeb-unknown-linux-gnueabi.md+1-1| ... | ... | @@ -21,7 +21,7 @@ The target definition can be seen [here](https://github.com/rust-lang/rust/blob/ |
| 21 | 21 | ## Building the target |
| 22 | 22 | Because it is Tier 3, rust does not yet ship pre-compiled artifacts for this target. |
| 23 | 23 | |
| 24 | Therefore, you can build Rust with support for the target by adding it to the target list in config.toml, a sample configuration is shown below. It is expected that the user already have a working GNU compiler toolchain and update the paths accordingly. | |
| 24 | Therefore, you can build Rust with support for the target by adding it to the target list in bootstrap.toml, a sample configuration is shown below. It is expected that the user already have a working GNU compiler toolchain and update the paths accordingly. | |
| 25 | 25 | |
| 26 | 26 | ```toml |
| 27 | 27 | [llvm] |
src/doc/rustc/src/platform-support/armv6k-nintendo-3ds.md+1-1| ... | ... | @@ -50,7 +50,7 @@ This target generates binaries in the ELF format. |
| 50 | 50 | ## Building the target |
| 51 | 51 | |
| 52 | 52 | You can build Rust with support for the target by adding it to the `target` |
| 53 | list in `config.toml` and providing paths to the devkitARM toolchain. | |
| 53 | list in `bootstrap.toml` and providing paths to the devkitARM toolchain. | |
| 54 | 54 | |
| 55 | 55 | ```toml |
| 56 | 56 | [build] |
src/doc/rustc/src/platform-support/armv7-unknown-linux-uclibceabihf.md+1-1| ... | ... | @@ -22,7 +22,7 @@ If you don't already have a suitable toolchain, download one [here](https://tool |
| 22 | 22 | |
| 23 | 23 | ### Configure rust |
| 24 | 24 | |
| 25 | The target can be built by enabling it for a `rustc` build, by placing the following in `config.toml`: | |
| 25 | The target can be built by enabling it for a `rustc` build, by placing the following in `bootstrap.toml`: | |
| 26 | 26 | |
| 27 | 27 | ```toml |
| 28 | 28 | [build] |
src/doc/rustc/src/platform-support/csky-unknown-linux-gnuabiv2.md+1-1| ... | ... | @@ -36,7 +36,7 @@ If you don't already have a suitable toolchain, you can download from [here](htt |
| 36 | 36 | |
| 37 | 37 | ### Configure rust |
| 38 | 38 | |
| 39 | The target can be built by enabling it for a `rustc` build, by placing the following in `config.toml`: | |
| 39 | The target can be built by enabling it for a `rustc` build, by placing the following in `bootstrap.toml`: | |
| 40 | 40 | |
| 41 | 41 | ```toml |
| 42 | 42 | [build] |
src/doc/rustc/src/platform-support/fuchsia.md+5-5| ... | ... | @@ -180,7 +180,7 @@ Fuchsia as well. A recent version (14+) of clang should be sufficient to compile |
| 180 | 180 | Rust for Fuchsia. |
| 181 | 181 | |
| 182 | 182 | x86-64 and AArch64 Fuchsia targets can be enabled using the following |
| 183 | configuration in `config.toml`: | |
| 183 | configuration in `bootstrap.toml`: | |
| 184 | 184 | |
| 185 | 185 | ```toml |
| 186 | 186 | [build] |
| ... | ... | @@ -212,7 +212,7 @@ cxx = "clang++" |
| 212 | 212 | |
| 213 | 213 | By default, the Rust compiler installs itself to `/usr/local` on most UNIX |
| 214 | 214 | systems. You may want to install it to another location (e.g. a local `install` |
| 215 | directory) by setting a custom prefix in `config.toml`: | |
| 215 | directory) by setting a custom prefix in `bootstrap.toml`: | |
| 216 | 216 | |
| 217 | 217 | ```toml |
| 218 | 218 | [install] |
| ... | ... | @@ -695,7 +695,7 @@ We can then use the script to start our test environment with: |
| 695 | 695 | ) |
| 696 | 696 | ``` |
| 697 | 697 | |
| 698 | Where `${RUST_SRC_PATH}/build` is the `build-dir` set in `config.toml`. | |
| 698 | Where `${RUST_SRC_PATH}/build` is the `build-dir` set in `bootstrap.toml`. | |
| 699 | 699 | |
| 700 | 700 | Once our environment is started, we can run our tests using `x.py` as usual. The |
| 701 | 701 | test runner script will run the compiled tests on an emulated Fuchsia device. To |
| ... | ... | @@ -705,7 +705,7 @@ run the full `tests/ui` test suite: |
| 705 | 705 | ( \ |
| 706 | 706 | source config-env.sh && \ |
| 707 | 707 | ./x.py \ |
| 708 | --config config.toml \ | |
| 708 | --config bootstrap.toml \ | |
| 709 | 709 | --stage=2 \ |
| 710 | 710 | test tests/ui \ |
| 711 | 711 | --target x86_64-unknown-fuchsia \ |
| ... | ... | @@ -893,7 +893,7 @@ through our `x.py` invocation. The full invocation is: |
| 893 | 893 | ( \ |
| 894 | 894 | source config-env.sh && \ |
| 895 | 895 | ./x.py \ |
| 896 | --config config.toml \ | |
| 896 | --config bootstrap.toml \ | |
| 897 | 897 | --stage=2 \ |
| 898 | 898 | test tests/${TEST} \ |
| 899 | 899 | --target x86_64-unknown-fuchsia \ |
src/doc/rustc/src/platform-support/hermit.md+1-1| ... | ... | @@ -31,7 +31,7 @@ Hermit binaries have the ELF format. |
| 31 | 31 | |
| 32 | 32 | ## Building the target |
| 33 | 33 | |
| 34 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`. | |
| 34 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`. | |
| 35 | 35 | To run the Hermit build scripts, you also have to enable your host target. |
| 36 | 36 | The build scripts rely on `llvm-tools` and binaries are linked using `rust-lld`, so those have to be enabled as well. |
| 37 | 37 |
src/doc/rustc/src/platform-support/hexagon-unknown-linux-musl.md+1-1| ... | ... | @@ -44,7 +44,7 @@ Because it is Tier 3, rust does not yet ship pre-compiled artifacts for this |
| 44 | 44 | target. |
| 45 | 45 | |
| 46 | 46 | Therefore, you can build Rust with support for the target by adding it to the |
| 47 | target list in `config.toml`, a sample configuration is shown below. | |
| 47 | target list in `bootstrap.toml`, a sample configuration is shown below. | |
| 48 | 48 | |
| 49 | 49 | ```toml |
| 50 | 50 | [build] |
src/doc/rustc/src/platform-support/hexagon-unknown-none-elf.md+1-1| ... | ... | @@ -28,7 +28,7 @@ This target generates PIC ELF binaries. |
| 28 | 28 | ## Building the target |
| 29 | 29 | |
| 30 | 30 | You can build Rust with support for the target by adding it to the `target` |
| 31 | list in `config.toml`: | |
| 31 | list in `bootstrap.toml`: | |
| 32 | 32 | |
| 33 | 33 | ```toml |
| 34 | 34 | [build] |
src/doc/rustc/src/platform-support/i686-apple-darwin.md+1-1| ... | ... | @@ -17,7 +17,7 @@ You'll need the macOS 10.13 SDK shipped with Xcode 9. The location of the SDK |
| 17 | 17 | can be passed to `rustc` using the common `SDKROOT` environment variable. |
| 18 | 18 | |
| 19 | 19 | Once you have that, you can build Rust with support for the target by adding |
| 20 | it to the `target` list in `config.toml`: | |
| 20 | it to the `target` list in `bootstrap.toml`: | |
| 21 | 21 | |
| 22 | 22 | ```toml |
| 23 | 23 | [build] |
src/doc/rustc/src/platform-support/kmc-solid.md+1-1| ... | ... | @@ -32,7 +32,7 @@ The target can be built by enabling it for a `rustc` build. |
| 32 | 32 | target = ["aarch64-kmc-solid_asp3"] |
| 33 | 33 | ``` |
| 34 | 34 | |
| 35 | Make sure `aarch64-kmc-elf-gcc` is included in `$PATH`. Alternatively, you can use GNU Arm Embedded Toolchain by adding the following to `config.toml`: | |
| 35 | Make sure `aarch64-kmc-elf-gcc` is included in `$PATH`. Alternatively, you can use GNU Arm Embedded Toolchain by adding the following to `bootstrap.toml`: | |
| 36 | 36 | |
| 37 | 37 | ```toml |
| 38 | 38 | [target.aarch64-kmc-solid_asp3] |
src/doc/rustc/src/platform-support/loongarch-linux.md+2-2| ... | ... | @@ -65,7 +65,7 @@ These targets are distributed through `rustup`, and otherwise require no |
| 65 | 65 | special configuration. |
| 66 | 66 | |
| 67 | 67 | If you need to build your own Rust for some reason though, the targets can be |
| 68 | simply enabled in `config.toml`. For example: | |
| 68 | simply enabled in `bootstrap.toml`. For example: | |
| 69 | 69 | |
| 70 | 70 | ```toml |
| 71 | 71 | [build] |
| ... | ... | @@ -73,7 +73,7 @@ target = ["loongarch64-unknown-linux-gnu"] |
| 73 | 73 | ``` |
| 74 | 74 | |
| 75 | 75 | Make sure the LoongArch toolchain binaries are reachable from `$PATH`. |
| 76 | Alternatively, you can explicitly configure the paths in `config.toml`: | |
| 76 | Alternatively, you can explicitly configure the paths in `bootstrap.toml`: | |
| 77 | 77 | |
| 78 | 78 | ```toml |
| 79 | 79 | [target.loongarch64-unknown-linux-gnu] |
src/doc/rustc/src/platform-support/loongarch-none.md+1-1| ... | ... | @@ -46,7 +46,7 @@ scripts. |
| 46 | 46 | ## Building the target |
| 47 | 47 | |
| 48 | 48 | You can build Rust with support for the targets by adding them to the `target` |
| 49 | list in `config.toml`: | |
| 49 | list in `bootstrap.toml`: | |
| 50 | 50 | |
| 51 | 51 | ```toml |
| 52 | 52 | [build] |
src/doc/rustc/src/platform-support/mips-release-6.md+3-3| ... | ... | @@ -67,7 +67,7 @@ The following procedure outlines the build process for the MIPS64 R6 target with |
| 67 | 67 | |
| 68 | 68 | ### Prerequisite: Disable debuginfo |
| 69 | 69 | |
| 70 | An LLVM bug makes rustc crash if debug or debug info generation is enabled. You need to edit `config.toml` to disable this: | |
| 70 | An LLVM bug makes rustc crash if debug or debug info generation is enabled. You need to edit `bootstrap.toml` to disable this: | |
| 71 | 71 | |
| 72 | 72 | ```toml |
| 73 | 73 | [rust] |
| ... | ... | @@ -83,7 +83,7 @@ The crate `rustix` may try to link itself against MIPS R2 assembly, resulting in |
| 83 | 83 | export RUSTFLAGS="--cfg rustix_use_libc" |
| 84 | 84 | ``` |
| 85 | 85 | |
| 86 | This will trigger warnings during build, as `-D warnings` is enabled by default. Disable `-D warnings` by editing `config.toml` to append the following: | |
| 86 | This will trigger warnings during build, as `-D warnings` is enabled by default. Disable `-D warnings` by editing `bootstrap.toml` to append the following: | |
| 87 | 87 | |
| 88 | 88 | ```toml |
| 89 | 89 | [rust] |
| ... | ... | @@ -116,7 +116,7 @@ target = ["mipsisa64r6el-unknown-linux-gnuabi64"] |
| 116 | 116 | |
| 117 | 117 | Make sure that `mipsisa64r6el-unknown-linux-gnuabi64-gcc` is available from your executable search path (`$PATH`). |
| 118 | 118 | |
| 119 | Alternatively, you can specify the directories to all necessary toolchain executables in `config.toml`: | |
| 119 | Alternatively, you can specify the directories to all necessary toolchain executables in `bootstrap.toml`: | |
| 120 | 120 | |
| 121 | 121 | ```toml |
| 122 | 122 | [target.mipsisa64r6el-unknown-linux-gnuabi64] |
src/doc/rustc/src/platform-support/nto-qnx.md+1-1| ... | ... | @@ -124,7 +124,7 @@ For conditional compilation, following QNX specific attributes are defined: |
| 124 | 124 | |
| 125 | 125 | ## Building the target |
| 126 | 126 | |
| 127 | 1. Create a `config.toml` | |
| 127 | 1. Create a `bootstrap.toml` | |
| 128 | 128 | |
| 129 | 129 | Example content: |
| 130 | 130 |
src/doc/rustc/src/platform-support/nvptx64-nvidia-cuda.md+1-1| ... | ... | @@ -32,7 +32,7 @@ What format do binaries use by default? ELF, PE, something else? |
| 32 | 32 | ## Building the target |
| 33 | 33 | |
| 34 | 34 | If Rust doesn't build the target by default, how can users build it? Can users |
| 35 | just add it to the `target` list in `config.toml`? | |
| 35 | just add it to the `target` list in `bootstrap.toml`? | |
| 36 | 36 | |
| 37 | 37 | ## Building Rust programs |
| 38 | 38 |
src/doc/rustc/src/platform-support/openharmony.md+1-1| ... | ... | @@ -145,7 +145,7 @@ linker = "/path/to/x86_64-unknown-linux-ohos-clang.sh" |
| 145 | 145 | ## Building the target from source |
| 146 | 146 | |
| 147 | 147 | Instead of using `rustup`, you can instead build a rust toolchain from source. |
| 148 | Create a `config.toml` with the following contents: | |
| 148 | Create a `bootstrap.toml` with the following contents: | |
| 149 | 149 | |
| 150 | 150 | ```toml |
| 151 | 151 | profile = "compiler" |
src/doc/rustc/src/platform-support/pc-windows-gnullvm.md+1-1| ... | ... | @@ -29,7 +29,7 @@ Like with any other Windows target, created binaries are in PE format. |
| 29 | 29 | |
| 30 | 30 | These targets can be easily cross-compiled |
| 31 | 31 | using [llvm-mingw](https://github.com/mstorsjo/llvm-mingw) toolchain or [MSYS2 CLANG*](https://www.msys2.org/docs/environments/) environments. |
| 32 | Just fill `[target.*]` sections for both build and resulting compiler and set installation prefix in `config.toml`. | |
| 32 | Just fill `[target.*]` sections for both build and resulting compiler and set installation prefix in `bootstrap.toml`. | |
| 33 | 33 | Then run `./x.py install`. |
| 34 | 34 | In my case I had ran `./x.py install --host x86_64-pc-windows-gnullvm --target x86_64-pc-windows-gnullvm` inside MSYS2 MINGW64 shell |
| 35 | 35 | so `x86_64-pc-windows-gnu` was my build toolchain. |
src/doc/rustc/src/platform-support/powerpc64le-unknown-linux-musl.md+1-1| ... | ... | @@ -23,7 +23,7 @@ The target can be built by enabling it for a `rustc` build. |
| 23 | 23 | target = ["powerpc64le-unknown-linux-musl"] |
| 24 | 24 | ``` |
| 25 | 25 | |
| 26 | Make sure your C compiler is included in `$PATH`, then add it to the `config.toml`: | |
| 26 | Make sure your C compiler is included in `$PATH`, then add it to the `bootstrap.toml`: | |
| 27 | 27 | |
| 28 | 28 | ```toml |
| 29 | 29 | [target.powerpc64le-unknown-linux-musl] |
src/doc/rustc/src/platform-support/redox.md+1-1| ... | ... | @@ -27,7 +27,7 @@ Redox OS binaries use ELF as file format. |
| 27 | 27 | |
| 28 | 28 | ## Building the target |
| 29 | 29 | |
| 30 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`. In addition a copy of [relibc] needs to be present in the linker search path. | |
| 30 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`. In addition a copy of [relibc] needs to be present in the linker search path. | |
| 31 | 31 | |
| 32 | 32 | ```toml |
| 33 | 33 | [build] |
src/doc/rustc/src/platform-support/riscv32im-risc0-zkvm-elf.md+1-1| ... | ... | @@ -43,7 +43,7 @@ Calling `extern "C"` on the target uses the C calling convention outlined in the |
| 43 | 43 | ## Building for the zkVM |
| 44 | 44 | |
| 45 | 45 | Programs for the zkVM could be built by adding it to the `target` list in |
| 46 | `config.toml`. However, we recommend building programs in our starter template | |
| 46 | `bootstrap.toml`. However, we recommend building programs in our starter template | |
| 47 | 47 | generated by the [cargo-risczero] utility and the [risc0-build] crate. This |
| 48 | 48 | crate calls `rustc` with `-C "link-arg=-Ttext=` so that it maps the text in the |
| 49 | 49 | appropriate location as well as generating variables that represent the ELF and |
src/doc/rustc/src/platform-support/riscv32imac-unknown-xous-elf.md+1-1| ... | ... | @@ -24,7 +24,7 @@ The target can be built by enabling it for a `rustc` build. |
| 24 | 24 | target = ["riscv32imac-unknown-xous-elf"] |
| 25 | 25 | ``` |
| 26 | 26 | |
| 27 | Make sure your C compiler is included in `$PATH`, then add it to the `config.toml`: | |
| 27 | Make sure your C compiler is included in `$PATH`, then add it to the `bootstrap.toml`: | |
| 28 | 28 | |
| 29 | 29 | ```toml |
| 30 | 30 | [target.riscv32imac-unknown-xous-elf] |
src/doc/rustc/src/platform-support/riscv64gc-unknown-linux-gnu.md+1-1| ... | ... | @@ -26,7 +26,7 @@ These targets are distributed through `rustup`, and otherwise require no |
| 26 | 26 | special configuration. |
| 27 | 27 | |
| 28 | 28 | If you need to build your own Rust for some reason though, the targets can be |
| 29 | enabled in `config.toml`. For example: | |
| 29 | enabled in `bootstrap.toml`. For example: | |
| 30 | 30 | |
| 31 | 31 | ```toml |
| 32 | 32 | [build] |
src/doc/rustc/src/platform-support/riscv64gc-unknown-linux-musl.md+1-1| ... | ... | @@ -22,7 +22,7 @@ The target can be built by enabling it for a `rustc` build. |
| 22 | 22 | target = ["riscv64gc-unknown-linux-musl"] |
| 23 | 23 | ``` |
| 24 | 24 | |
| 25 | Make sure your C compiler is included in `$PATH`, then add it to the `config.toml`: | |
| 25 | Make sure your C compiler is included in `$PATH`, then add it to the `bootstrap.toml`: | |
| 26 | 26 | |
| 27 | 27 | ```toml |
| 28 | 28 | [target.riscv64gc-unknown-linux-musl] |
src/doc/rustc/src/platform-support/s390x-unknown-linux-gnu.md+1-1| ... | ... | @@ -34,7 +34,7 @@ This target is distributed through `rustup`, and otherwise requires no |
| 34 | 34 | special configuration. |
| 35 | 35 | |
| 36 | 36 | If you need to build your own Rust for some reason though, the target can be |
| 37 | enabled in `config.toml`. For example: | |
| 37 | enabled in `bootstrap.toml`. For example: | |
| 38 | 38 | |
| 39 | 39 | ```toml |
| 40 | 40 | [build] |
src/doc/rustc/src/platform-support/s390x-unknown-linux-musl.md+1-1| ... | ... | @@ -33,7 +33,7 @@ Because it is Tier 3, Rust does not yet ship pre-compiled artifacts for this |
| 33 | 33 | target. |
| 34 | 34 | |
| 35 | 35 | Therefore, you can build Rust with support for the target by adding it to the |
| 36 | target list in `config.toml`, a sample configuration is shown below. | |
| 36 | target list in `bootstrap.toml`, a sample configuration is shown below. | |
| 37 | 37 | |
| 38 | 38 | ```toml |
| 39 | 39 | [build] |
src/doc/rustc/src/platform-support/sparc-unknown-none-elf.md+1-1| ... | ... | @@ -34,7 +34,7 @@ considerations for binary layout will require linker options or linker scripts. |
| 34 | 34 | ## Building the target |
| 35 | 35 | |
| 36 | 36 | You can build Rust with support for the target by adding it to the `target` |
| 37 | list in `config.toml`: | |
| 37 | list in `bootstrap.toml`: | |
| 38 | 38 | |
| 39 | 39 | ```toml |
| 40 | 40 | [build] |
src/doc/rustc/src/platform-support/unikraft-linux-musl.md+1-1| ... | ... | @@ -34,7 +34,7 @@ Instead, the Unikraft build system will produce the final Unikernel image for th |
| 34 | 34 | |
| 35 | 35 | ## Building the targets |
| 36 | 36 | |
| 37 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`: | |
| 37 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`: | |
| 38 | 38 | |
| 39 | 39 | ```toml |
| 40 | 40 | [build] |
src/doc/rustc/src/platform-support/unknown-uefi.md+1-1| ... | ... | @@ -252,7 +252,7 @@ This section contains information on how to use std on UEFI. |
| 252 | 252 | |
| 253 | 253 | ### Build std |
| 254 | 254 | The building std part is pretty much the same as the official [docs](https://rustc-dev-guide.rust-lang.org/getting-started.html). |
| 255 | The linker that should be used is `rust-lld`. Here is a sample `config.toml`: | |
| 255 | The linker that should be used is `rust-lld`. Here is a sample `bootstrap.toml`: | |
| 256 | 256 | ```toml |
| 257 | 257 | [rust] |
| 258 | 258 | lld = true |
src/doc/rustc/src/platform-support/vxworks.md+1-1| ... | ... | @@ -33,7 +33,7 @@ Rust for each target can be cross-compiled with its specific target vsb configur |
| 33 | 33 | |
| 34 | 34 | ## Building the target |
| 35 | 35 | |
| 36 | You can build Rust with support for the targets by adding it to the `target` list in `config.toml`. In addition the workbench and wr-cc have to configured and activated. | |
| 36 | You can build Rust with support for the targets by adding it to the `target` list in `bootstrap.toml`. In addition the workbench and wr-cc have to configured and activated. | |
| 37 | 37 | |
| 38 | 38 | ```toml |
| 39 | 39 | [build] |
src/doc/rustc/src/platform-support/wasm32-unknown-emscripten.md+1-1| ... | ... | @@ -61,7 +61,7 @@ Building this target can be done by: |
| 61 | 61 | * Configure the `wasm32-unknown-emscripten` target to get built. |
| 62 | 62 | * Ensure the `WebAssembly` target backend is not disabled in LLVM. |
| 63 | 63 | |
| 64 | These are all controlled through `config.toml` options. It should be possible | |
| 64 | These are all controlled through `bootstrap.toml` options. It should be possible | |
| 65 | 65 | to build this target on any platform. A minimal example configuration would be: |
| 66 | 66 | |
| 67 | 67 | ```toml |
src/doc/rustc/src/platform-support/wasm32-unknown-unknown.md+1-1| ... | ... | @@ -65,7 +65,7 @@ Building this target can be done by: |
| 65 | 65 | * Configure LLD to be built. |
| 66 | 66 | * Ensure the `WebAssembly` target backend is not disabled in LLVM. |
| 67 | 67 | |
| 68 | These are all controlled through `config.toml` options. It should be possible | |
| 68 | These are all controlled through `bootstrap.toml` options. It should be possible | |
| 69 | 69 | to build this target on any platform. |
| 70 | 70 | |
| 71 | 71 | ## Building Rust programs |
src/doc/rustc/src/platform-support/wasm32-wasip1-threads.md+2-2| ... | ... | @@ -107,7 +107,7 @@ flag, for example: |
| 107 | 107 | |
| 108 | 108 | Users need to install or built wasi-sdk since release 20.0 |
| 109 | 109 | https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-20 |
| 110 | and specify path to *wasi-root* `config.toml` | |
| 110 | and specify path to *wasi-root* `bootstrap.toml` | |
| 111 | 111 | |
| 112 | 112 | ```toml |
| 113 | 113 | [target.wasm32-wasip1-threads] |
| ... | ... | @@ -115,7 +115,7 @@ wasi-root = ".../wasi-libc/sysroot" |
| 115 | 115 | ``` |
| 116 | 116 | |
| 117 | 117 | After that users can build this by adding it to the `target` list in |
| 118 | `config.toml`, or with `-Zbuild-std`. | |
| 118 | `bootstrap.toml`, or with `-Zbuild-std`. | |
| 119 | 119 | |
| 120 | 120 | ## Building Rust programs |
| 121 | 121 |
src/doc/rustc/src/platform-support/wasm64-unknown-unknown.md+1-1| ... | ... | @@ -64,7 +64,7 @@ This target does not support `panic=unwind` at this time. |
| 64 | 64 | ## Building the target |
| 65 | 65 | |
| 66 | 66 | You can build Rust with support for the target by adding it to the `target` |
| 67 | list in `config.toml`, and the target also requires `lld` to be built to work. | |
| 67 | list in `bootstrap.toml`, and the target also requires `lld` to be built to work. | |
| 68 | 68 | |
| 69 | 69 | ```toml |
| 70 | 70 | [build] |
src/doc/rustc/src/platform-support/win7-windows-gnu.md+1-1| ... | ... | @@ -23,7 +23,7 @@ Like any other Windows target, the created binaries are in PE format. |
| 23 | 23 | |
| 24 | 24 | ## Building the target |
| 25 | 25 | |
| 26 | You can build Rust with support for the targets by adding it to the target list in config.toml: | |
| 26 | You can build Rust with support for the targets by adding it to the target list in bootstrap.toml: | |
| 27 | 27 | |
| 28 | 28 | ```toml |
| 29 | 29 | [build] |
src/doc/rustc/src/platform-support/win7-windows-msvc.md+2-2| ... | ... | @@ -24,7 +24,7 @@ Like any other Windows target, the created binaries are in PE format. |
| 24 | 24 | |
| 25 | 25 | ## Building the target |
| 26 | 26 | |
| 27 | You can build Rust with support for the targets by adding it to the target list in config.toml: | |
| 27 | You can build Rust with support for the targets by adding it to the target list in bootstrap.toml: | |
| 28 | 28 | |
| 29 | 29 | ```toml |
| 30 | 30 | [build] |
| ... | ... | @@ -73,7 +73,7 @@ Windows SDK, which can be acquired using [`xwin`](https://github.com/Jake-Shadle |
| 73 | 73 | clang-cl /imsvc "$XWIN/crt/include" /imsvc "$XWIN/sdk/include/ucrt" /imsvc "$XWIN/sdk/include/um" /imsvc "$XWIN/sdk/include/shared" --target="x86_64-pc-windows-msvc" "$@" |
| 74 | 74 | ``` |
| 75 | 75 | |
| 76 | - In your config.toml, add the following lines: | |
| 76 | - In your bootstrap.toml, add the following lines: | |
| 77 | 77 | |
| 78 | 78 | ```toml |
| 79 | 79 | [target.x86_64-win7-windows-msvc] |
src/doc/rustc/src/platform-support/x86_64-unknown-none.md+1-1| ... | ... | @@ -39,7 +39,7 @@ scripts. |
| 39 | 39 | ## Building the target |
| 40 | 40 | |
| 41 | 41 | You can build Rust with support for the target by adding it to the `target` |
| 42 | list in `config.toml`: | |
| 42 | list in `bootstrap.toml`: | |
| 43 | 43 | |
| 44 | 44 | ```toml |
| 45 | 45 | [build] |
src/doc/rustc/src/platform-support/x86_64h-apple-darwin.md+1-1| ... | ... | @@ -29,7 +29,7 @@ respects. |
| 29 | 29 | ## Building the target |
| 30 | 30 | |
| 31 | 31 | Users on Apple targets can build this by adding it to the `target` list in |
| 32 | `config.toml`, or with `-Zbuild-std`. | |
| 32 | `bootstrap.toml`, or with `-Zbuild-std`. | |
| 33 | 33 | |
| 34 | 34 | ## Building Rust programs |
| 35 | 35 |
src/doc/unstable-book/src/compiler-flags/control-flow-guard.md+1-1| ... | ... | @@ -56,4 +56,4 @@ $Env:RUSTFLAGS = "-Z control-flow-guard" |
| 56 | 56 | cargo +nightly build -Z build-std --target x86_64-pc-windows-msvc |
| 57 | 57 | ``` |
| 58 | 58 | |
| 59 | Alternatively, if you are building the standard library from source, you can set `control-flow-guard = true` in the config.toml file. | |
| 59 | Alternatively, if you are building the standard library from source, you can set `control-flow-guard = true` in the bootstrap.toml file. |
src/etc/completions/x.fish+46-46| ... | ... | @@ -25,7 +25,7 @@ function __fish_x_using_subcommand |
| 25 | 25 | end |
| 26 | 26 | |
| 27 | 27 | complete -c x -n "__fish_x_needs_command" -l config -d 'TOML configuration file for build' -r -F |
| 28 | complete -c x -n "__fish_x_needs_command" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 28 | complete -c x -n "__fish_x_needs_command" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 29 | 29 | complete -c x -n "__fish_x_needs_command" -l build -d 'build target of the stage0 compiler' -r -f |
| 30 | 30 | complete -c x -n "__fish_x_needs_command" -l host -d 'host targets to build' -r -f |
| 31 | 31 | complete -c x -n "__fish_x_needs_command" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -45,7 +45,7 @@ complete -c x -n "__fish_x_needs_command" -l rust-profile-generate -d 'generate |
| 45 | 45 | complete -c x -n "__fish_x_needs_command" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 46 | 46 | complete -c x -n "__fish_x_needs_command" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 47 | 47 | complete -c x -n "__fish_x_needs_command" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 48 | complete -c x -n "__fish_x_needs_command" -l set -d 'override options in config.toml' -r -f | |
| 48 | complete -c x -n "__fish_x_needs_command" -l set -d 'override options in bootstrap.toml' -r -f | |
| 49 | 49 | complete -c x -n "__fish_x_needs_command" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 50 | 50 | complete -c x -n "__fish_x_needs_command" -s i -l incremental -d 'use incremental compilation' |
| 51 | 51 | complete -c x -n "__fish_x_needs_command" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -75,7 +75,7 @@ complete -c x -n "__fish_x_needs_command" -a "suggest" -d 'Suggest a subset of t |
| 75 | 75 | complete -c x -n "__fish_x_needs_command" -a "vendor" -d 'Vendor dependencies' |
| 76 | 76 | complete -c x -n "__fish_x_needs_command" -a "perf" -d 'Perform profiling and benchmarking of the compiler using `rustc-perf`' |
| 77 | 77 | complete -c x -n "__fish_x_using_subcommand build" -l config -d 'TOML configuration file for build' -r -F |
| 78 | complete -c x -n "__fish_x_using_subcommand build" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 78 | complete -c x -n "__fish_x_using_subcommand build" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 79 | 79 | complete -c x -n "__fish_x_using_subcommand build" -l build -d 'build target of the stage0 compiler' -r -f |
| 80 | 80 | complete -c x -n "__fish_x_using_subcommand build" -l host -d 'host targets to build' -r -f |
| 81 | 81 | complete -c x -n "__fish_x_using_subcommand build" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -95,7 +95,7 @@ complete -c x -n "__fish_x_using_subcommand build" -l rust-profile-generate -d ' |
| 95 | 95 | complete -c x -n "__fish_x_using_subcommand build" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 96 | 96 | complete -c x -n "__fish_x_using_subcommand build" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 97 | 97 | complete -c x -n "__fish_x_using_subcommand build" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 98 | complete -c x -n "__fish_x_using_subcommand build" -l set -d 'override options in config.toml' -r -f | |
| 98 | complete -c x -n "__fish_x_using_subcommand build" -l set -d 'override options in bootstrap.toml' -r -f | |
| 99 | 99 | complete -c x -n "__fish_x_using_subcommand build" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 100 | 100 | complete -c x -n "__fish_x_using_subcommand build" -s i -l incremental -d 'use incremental compilation' |
| 101 | 101 | complete -c x -n "__fish_x_using_subcommand build" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -108,7 +108,7 @@ complete -c x -n "__fish_x_using_subcommand build" -l enable-bolt-settings -d 'E |
| 108 | 108 | complete -c x -n "__fish_x_using_subcommand build" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 109 | 109 | complete -c x -n "__fish_x_using_subcommand build" -s h -l help -d 'Print help (see more with \'--help\')' |
| 110 | 110 | complete -c x -n "__fish_x_using_subcommand check" -l config -d 'TOML configuration file for build' -r -F |
| 111 | complete -c x -n "__fish_x_using_subcommand check" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 111 | complete -c x -n "__fish_x_using_subcommand check" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 112 | 112 | complete -c x -n "__fish_x_using_subcommand check" -l build -d 'build target of the stage0 compiler' -r -f |
| 113 | 113 | complete -c x -n "__fish_x_using_subcommand check" -l host -d 'host targets to build' -r -f |
| 114 | 114 | complete -c x -n "__fish_x_using_subcommand check" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -128,7 +128,7 @@ complete -c x -n "__fish_x_using_subcommand check" -l rust-profile-generate -d ' |
| 128 | 128 | complete -c x -n "__fish_x_using_subcommand check" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 129 | 129 | complete -c x -n "__fish_x_using_subcommand check" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 130 | 130 | complete -c x -n "__fish_x_using_subcommand check" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 131 | complete -c x -n "__fish_x_using_subcommand check" -l set -d 'override options in config.toml' -r -f | |
| 131 | complete -c x -n "__fish_x_using_subcommand check" -l set -d 'override options in bootstrap.toml' -r -f | |
| 132 | 132 | complete -c x -n "__fish_x_using_subcommand check" -l all-targets -d 'Check all targets' |
| 133 | 133 | complete -c x -n "__fish_x_using_subcommand check" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 134 | 134 | complete -c x -n "__fish_x_using_subcommand check" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -146,7 +146,7 @@ complete -c x -n "__fish_x_using_subcommand clippy" -s D -d 'clippy lints to den |
| 146 | 146 | complete -c x -n "__fish_x_using_subcommand clippy" -s W -d 'clippy lints to warn on' -r |
| 147 | 147 | complete -c x -n "__fish_x_using_subcommand clippy" -s F -d 'clippy lints to forbid' -r |
| 148 | 148 | complete -c x -n "__fish_x_using_subcommand clippy" -l config -d 'TOML configuration file for build' -r -F |
| 149 | complete -c x -n "__fish_x_using_subcommand clippy" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 149 | complete -c x -n "__fish_x_using_subcommand clippy" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 150 | 150 | complete -c x -n "__fish_x_using_subcommand clippy" -l build -d 'build target of the stage0 compiler' -r -f |
| 151 | 151 | complete -c x -n "__fish_x_using_subcommand clippy" -l host -d 'host targets to build' -r -f |
| 152 | 152 | complete -c x -n "__fish_x_using_subcommand clippy" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -166,7 +166,7 @@ complete -c x -n "__fish_x_using_subcommand clippy" -l rust-profile-generate -d |
| 166 | 166 | complete -c x -n "__fish_x_using_subcommand clippy" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 167 | 167 | complete -c x -n "__fish_x_using_subcommand clippy" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 168 | 168 | complete -c x -n "__fish_x_using_subcommand clippy" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 169 | complete -c x -n "__fish_x_using_subcommand clippy" -l set -d 'override options in config.toml' -r -f | |
| 169 | complete -c x -n "__fish_x_using_subcommand clippy" -l set -d 'override options in bootstrap.toml' -r -f | |
| 170 | 170 | complete -c x -n "__fish_x_using_subcommand clippy" -l fix |
| 171 | 171 | complete -c x -n "__fish_x_using_subcommand clippy" -l allow-dirty |
| 172 | 172 | complete -c x -n "__fish_x_using_subcommand clippy" -l allow-staged |
| ... | ... | @@ -182,7 +182,7 @@ complete -c x -n "__fish_x_using_subcommand clippy" -l enable-bolt-settings -d ' |
| 182 | 182 | complete -c x -n "__fish_x_using_subcommand clippy" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 183 | 183 | complete -c x -n "__fish_x_using_subcommand clippy" -s h -l help -d 'Print help (see more with \'--help\')' |
| 184 | 184 | complete -c x -n "__fish_x_using_subcommand fix" -l config -d 'TOML configuration file for build' -r -F |
| 185 | complete -c x -n "__fish_x_using_subcommand fix" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 185 | complete -c x -n "__fish_x_using_subcommand fix" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 186 | 186 | complete -c x -n "__fish_x_using_subcommand fix" -l build -d 'build target of the stage0 compiler' -r -f |
| 187 | 187 | complete -c x -n "__fish_x_using_subcommand fix" -l host -d 'host targets to build' -r -f |
| 188 | 188 | complete -c x -n "__fish_x_using_subcommand fix" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -202,7 +202,7 @@ complete -c x -n "__fish_x_using_subcommand fix" -l rust-profile-generate -d 'ge |
| 202 | 202 | complete -c x -n "__fish_x_using_subcommand fix" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 203 | 203 | complete -c x -n "__fish_x_using_subcommand fix" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 204 | 204 | complete -c x -n "__fish_x_using_subcommand fix" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 205 | complete -c x -n "__fish_x_using_subcommand fix" -l set -d 'override options in config.toml' -r -f | |
| 205 | complete -c x -n "__fish_x_using_subcommand fix" -l set -d 'override options in bootstrap.toml' -r -f | |
| 206 | 206 | complete -c x -n "__fish_x_using_subcommand fix" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 207 | 207 | complete -c x -n "__fish_x_using_subcommand fix" -s i -l incremental -d 'use incremental compilation' |
| 208 | 208 | complete -c x -n "__fish_x_using_subcommand fix" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -215,7 +215,7 @@ complete -c x -n "__fish_x_using_subcommand fix" -l enable-bolt-settings -d 'Ena |
| 215 | 215 | complete -c x -n "__fish_x_using_subcommand fix" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 216 | 216 | complete -c x -n "__fish_x_using_subcommand fix" -s h -l help -d 'Print help (see more with \'--help\')' |
| 217 | 217 | complete -c x -n "__fish_x_using_subcommand fmt" -l config -d 'TOML configuration file for build' -r -F |
| 218 | complete -c x -n "__fish_x_using_subcommand fmt" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 218 | complete -c x -n "__fish_x_using_subcommand fmt" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 219 | 219 | complete -c x -n "__fish_x_using_subcommand fmt" -l build -d 'build target of the stage0 compiler' -r -f |
| 220 | 220 | complete -c x -n "__fish_x_using_subcommand fmt" -l host -d 'host targets to build' -r -f |
| 221 | 221 | complete -c x -n "__fish_x_using_subcommand fmt" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -235,7 +235,7 @@ complete -c x -n "__fish_x_using_subcommand fmt" -l rust-profile-generate -d 'ge |
| 235 | 235 | complete -c x -n "__fish_x_using_subcommand fmt" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 236 | 236 | complete -c x -n "__fish_x_using_subcommand fmt" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 237 | 237 | complete -c x -n "__fish_x_using_subcommand fmt" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 238 | complete -c x -n "__fish_x_using_subcommand fmt" -l set -d 'override options in config.toml' -r -f | |
| 238 | complete -c x -n "__fish_x_using_subcommand fmt" -l set -d 'override options in bootstrap.toml' -r -f | |
| 239 | 239 | complete -c x -n "__fish_x_using_subcommand fmt" -l check -d 'check formatting instead of applying' |
| 240 | 240 | complete -c x -n "__fish_x_using_subcommand fmt" -l all -d 'apply to all appropriate files, not just those that have been modified' |
| 241 | 241 | complete -c x -n "__fish_x_using_subcommand fmt" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| ... | ... | @@ -250,7 +250,7 @@ complete -c x -n "__fish_x_using_subcommand fmt" -l enable-bolt-settings -d 'Ena |
| 250 | 250 | complete -c x -n "__fish_x_using_subcommand fmt" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 251 | 251 | complete -c x -n "__fish_x_using_subcommand fmt" -s h -l help -d 'Print help (see more with \'--help\')' |
| 252 | 252 | complete -c x -n "__fish_x_using_subcommand doc" -l config -d 'TOML configuration file for build' -r -F |
| 253 | complete -c x -n "__fish_x_using_subcommand doc" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 253 | complete -c x -n "__fish_x_using_subcommand doc" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 254 | 254 | complete -c x -n "__fish_x_using_subcommand doc" -l build -d 'build target of the stage0 compiler' -r -f |
| 255 | 255 | complete -c x -n "__fish_x_using_subcommand doc" -l host -d 'host targets to build' -r -f |
| 256 | 256 | complete -c x -n "__fish_x_using_subcommand doc" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -270,7 +270,7 @@ complete -c x -n "__fish_x_using_subcommand doc" -l rust-profile-generate -d 'ge |
| 270 | 270 | complete -c x -n "__fish_x_using_subcommand doc" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 271 | 271 | complete -c x -n "__fish_x_using_subcommand doc" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 272 | 272 | complete -c x -n "__fish_x_using_subcommand doc" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 273 | complete -c x -n "__fish_x_using_subcommand doc" -l set -d 'override options in config.toml' -r -f | |
| 273 | complete -c x -n "__fish_x_using_subcommand doc" -l set -d 'override options in bootstrap.toml' -r -f | |
| 274 | 274 | complete -c x -n "__fish_x_using_subcommand doc" -l open -d 'open the docs in a browser' |
| 275 | 275 | complete -c x -n "__fish_x_using_subcommand doc" -l json -d 'render the documentation in JSON format in addition to the usual HTML format' |
| 276 | 276 | complete -c x -n "__fish_x_using_subcommand doc" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| ... | ... | @@ -291,7 +291,7 @@ complete -c x -n "__fish_x_using_subcommand test" -l compare-mode -d 'mode descr |
| 291 | 291 | complete -c x -n "__fish_x_using_subcommand test" -l pass -d 'force {check,build,run}-pass tests to this mode' -r |
| 292 | 292 | complete -c x -n "__fish_x_using_subcommand test" -l run -d 'whether to execute run-* tests' -r |
| 293 | 293 | complete -c x -n "__fish_x_using_subcommand test" -l config -d 'TOML configuration file for build' -r -F |
| 294 | complete -c x -n "__fish_x_using_subcommand test" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 294 | complete -c x -n "__fish_x_using_subcommand test" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 295 | 295 | complete -c x -n "__fish_x_using_subcommand test" -l build -d 'build target of the stage0 compiler' -r -f |
| 296 | 296 | complete -c x -n "__fish_x_using_subcommand test" -l host -d 'host targets to build' -r -f |
| 297 | 297 | complete -c x -n "__fish_x_using_subcommand test" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -311,7 +311,7 @@ complete -c x -n "__fish_x_using_subcommand test" -l rust-profile-generate -d 'g |
| 311 | 311 | complete -c x -n "__fish_x_using_subcommand test" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 312 | 312 | complete -c x -n "__fish_x_using_subcommand test" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 313 | 313 | complete -c x -n "__fish_x_using_subcommand test" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 314 | complete -c x -n "__fish_x_using_subcommand test" -l set -d 'override options in config.toml' -r -f | |
| 314 | complete -c x -n "__fish_x_using_subcommand test" -l set -d 'override options in bootstrap.toml' -r -f | |
| 315 | 315 | complete -c x -n "__fish_x_using_subcommand test" -l no-fail-fast -d 'run all tests regardless of failure' |
| 316 | 316 | complete -c x -n "__fish_x_using_subcommand test" -l no-doc -d 'do not run doc tests' |
| 317 | 317 | complete -c x -n "__fish_x_using_subcommand test" -l doc -d 'only run doc tests' |
| ... | ... | @@ -333,7 +333,7 @@ complete -c x -n "__fish_x_using_subcommand test" -l skip-stage0-validation -d ' |
| 333 | 333 | complete -c x -n "__fish_x_using_subcommand test" -s h -l help -d 'Print help (see more with \'--help\')' |
| 334 | 334 | complete -c x -n "__fish_x_using_subcommand miri" -l test-args -d 'extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)' -r |
| 335 | 335 | complete -c x -n "__fish_x_using_subcommand miri" -l config -d 'TOML configuration file for build' -r -F |
| 336 | complete -c x -n "__fish_x_using_subcommand miri" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 336 | complete -c x -n "__fish_x_using_subcommand miri" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 337 | 337 | complete -c x -n "__fish_x_using_subcommand miri" -l build -d 'build target of the stage0 compiler' -r -f |
| 338 | 338 | complete -c x -n "__fish_x_using_subcommand miri" -l host -d 'host targets to build' -r -f |
| 339 | 339 | complete -c x -n "__fish_x_using_subcommand miri" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -353,7 +353,7 @@ complete -c x -n "__fish_x_using_subcommand miri" -l rust-profile-generate -d 'g |
| 353 | 353 | complete -c x -n "__fish_x_using_subcommand miri" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 354 | 354 | complete -c x -n "__fish_x_using_subcommand miri" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 355 | 355 | complete -c x -n "__fish_x_using_subcommand miri" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 356 | complete -c x -n "__fish_x_using_subcommand miri" -l set -d 'override options in config.toml' -r -f | |
| 356 | complete -c x -n "__fish_x_using_subcommand miri" -l set -d 'override options in bootstrap.toml' -r -f | |
| 357 | 357 | complete -c x -n "__fish_x_using_subcommand miri" -l no-fail-fast -d 'run all tests regardless of failure' |
| 358 | 358 | complete -c x -n "__fish_x_using_subcommand miri" -l no-doc -d 'do not run doc tests' |
| 359 | 359 | complete -c x -n "__fish_x_using_subcommand miri" -l doc -d 'only run doc tests' |
| ... | ... | @@ -370,7 +370,7 @@ complete -c x -n "__fish_x_using_subcommand miri" -l skip-stage0-validation -d ' |
| 370 | 370 | complete -c x -n "__fish_x_using_subcommand miri" -s h -l help -d 'Print help (see more with \'--help\')' |
| 371 | 371 | complete -c x -n "__fish_x_using_subcommand bench" -l test-args -r |
| 372 | 372 | complete -c x -n "__fish_x_using_subcommand bench" -l config -d 'TOML configuration file for build' -r -F |
| 373 | complete -c x -n "__fish_x_using_subcommand bench" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 373 | complete -c x -n "__fish_x_using_subcommand bench" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 374 | 374 | complete -c x -n "__fish_x_using_subcommand bench" -l build -d 'build target of the stage0 compiler' -r -f |
| 375 | 375 | complete -c x -n "__fish_x_using_subcommand bench" -l host -d 'host targets to build' -r -f |
| 376 | 376 | complete -c x -n "__fish_x_using_subcommand bench" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -390,7 +390,7 @@ complete -c x -n "__fish_x_using_subcommand bench" -l rust-profile-generate -d ' |
| 390 | 390 | complete -c x -n "__fish_x_using_subcommand bench" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 391 | 391 | complete -c x -n "__fish_x_using_subcommand bench" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 392 | 392 | complete -c x -n "__fish_x_using_subcommand bench" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 393 | complete -c x -n "__fish_x_using_subcommand bench" -l set -d 'override options in config.toml' -r -f | |
| 393 | complete -c x -n "__fish_x_using_subcommand bench" -l set -d 'override options in bootstrap.toml' -r -f | |
| 394 | 394 | complete -c x -n "__fish_x_using_subcommand bench" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 395 | 395 | complete -c x -n "__fish_x_using_subcommand bench" -s i -l incremental -d 'use incremental compilation' |
| 396 | 396 | complete -c x -n "__fish_x_using_subcommand bench" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -404,7 +404,7 @@ complete -c x -n "__fish_x_using_subcommand bench" -l skip-stage0-validation -d |
| 404 | 404 | complete -c x -n "__fish_x_using_subcommand bench" -s h -l help -d 'Print help (see more with \'--help\')' |
| 405 | 405 | complete -c x -n "__fish_x_using_subcommand clean" -l stage -d 'Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used' -r |
| 406 | 406 | complete -c x -n "__fish_x_using_subcommand clean" -l config -d 'TOML configuration file for build' -r -F |
| 407 | complete -c x -n "__fish_x_using_subcommand clean" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 407 | complete -c x -n "__fish_x_using_subcommand clean" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 408 | 408 | complete -c x -n "__fish_x_using_subcommand clean" -l build -d 'build target of the stage0 compiler' -r -f |
| 409 | 409 | complete -c x -n "__fish_x_using_subcommand clean" -l host -d 'host targets to build' -r -f |
| 410 | 410 | complete -c x -n "__fish_x_using_subcommand clean" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -423,7 +423,7 @@ complete -c x -n "__fish_x_using_subcommand clean" -l rust-profile-generate -d ' |
| 423 | 423 | complete -c x -n "__fish_x_using_subcommand clean" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 424 | 424 | complete -c x -n "__fish_x_using_subcommand clean" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 425 | 425 | complete -c x -n "__fish_x_using_subcommand clean" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 426 | complete -c x -n "__fish_x_using_subcommand clean" -l set -d 'override options in config.toml' -r -f | |
| 426 | complete -c x -n "__fish_x_using_subcommand clean" -l set -d 'override options in bootstrap.toml' -r -f | |
| 427 | 427 | complete -c x -n "__fish_x_using_subcommand clean" -l all -d 'Clean the entire build directory (not used by default)' |
| 428 | 428 | complete -c x -n "__fish_x_using_subcommand clean" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 429 | 429 | complete -c x -n "__fish_x_using_subcommand clean" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -437,7 +437,7 @@ complete -c x -n "__fish_x_using_subcommand clean" -l enable-bolt-settings -d 'E |
| 437 | 437 | complete -c x -n "__fish_x_using_subcommand clean" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 438 | 438 | complete -c x -n "__fish_x_using_subcommand clean" -s h -l help -d 'Print help (see more with \'--help\')' |
| 439 | 439 | complete -c x -n "__fish_x_using_subcommand dist" -l config -d 'TOML configuration file for build' -r -F |
| 440 | complete -c x -n "__fish_x_using_subcommand dist" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 440 | complete -c x -n "__fish_x_using_subcommand dist" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 441 | 441 | complete -c x -n "__fish_x_using_subcommand dist" -l build -d 'build target of the stage0 compiler' -r -f |
| 442 | 442 | complete -c x -n "__fish_x_using_subcommand dist" -l host -d 'host targets to build' -r -f |
| 443 | 443 | complete -c x -n "__fish_x_using_subcommand dist" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -457,7 +457,7 @@ complete -c x -n "__fish_x_using_subcommand dist" -l rust-profile-generate -d 'g |
| 457 | 457 | complete -c x -n "__fish_x_using_subcommand dist" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 458 | 458 | complete -c x -n "__fish_x_using_subcommand dist" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 459 | 459 | complete -c x -n "__fish_x_using_subcommand dist" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 460 | complete -c x -n "__fish_x_using_subcommand dist" -l set -d 'override options in config.toml' -r -f | |
| 460 | complete -c x -n "__fish_x_using_subcommand dist" -l set -d 'override options in bootstrap.toml' -r -f | |
| 461 | 461 | complete -c x -n "__fish_x_using_subcommand dist" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 462 | 462 | complete -c x -n "__fish_x_using_subcommand dist" -s i -l incremental -d 'use incremental compilation' |
| 463 | 463 | complete -c x -n "__fish_x_using_subcommand dist" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -470,7 +470,7 @@ complete -c x -n "__fish_x_using_subcommand dist" -l enable-bolt-settings -d 'En |
| 470 | 470 | complete -c x -n "__fish_x_using_subcommand dist" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 471 | 471 | complete -c x -n "__fish_x_using_subcommand dist" -s h -l help -d 'Print help (see more with \'--help\')' |
| 472 | 472 | complete -c x -n "__fish_x_using_subcommand install" -l config -d 'TOML configuration file for build' -r -F |
| 473 | complete -c x -n "__fish_x_using_subcommand install" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 473 | complete -c x -n "__fish_x_using_subcommand install" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 474 | 474 | complete -c x -n "__fish_x_using_subcommand install" -l build -d 'build target of the stage0 compiler' -r -f |
| 475 | 475 | complete -c x -n "__fish_x_using_subcommand install" -l host -d 'host targets to build' -r -f |
| 476 | 476 | complete -c x -n "__fish_x_using_subcommand install" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -490,7 +490,7 @@ complete -c x -n "__fish_x_using_subcommand install" -l rust-profile-generate -d |
| 490 | 490 | complete -c x -n "__fish_x_using_subcommand install" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 491 | 491 | complete -c x -n "__fish_x_using_subcommand install" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 492 | 492 | complete -c x -n "__fish_x_using_subcommand install" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 493 | complete -c x -n "__fish_x_using_subcommand install" -l set -d 'override options in config.toml' -r -f | |
| 493 | complete -c x -n "__fish_x_using_subcommand install" -l set -d 'override options in bootstrap.toml' -r -f | |
| 494 | 494 | complete -c x -n "__fish_x_using_subcommand install" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 495 | 495 | complete -c x -n "__fish_x_using_subcommand install" -s i -l incremental -d 'use incremental compilation' |
| 496 | 496 | complete -c x -n "__fish_x_using_subcommand install" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -504,7 +504,7 @@ complete -c x -n "__fish_x_using_subcommand install" -l skip-stage0-validation - |
| 504 | 504 | complete -c x -n "__fish_x_using_subcommand install" -s h -l help -d 'Print help (see more with \'--help\')' |
| 505 | 505 | complete -c x -n "__fish_x_using_subcommand run" -l args -d 'arguments for the tool' -r |
| 506 | 506 | complete -c x -n "__fish_x_using_subcommand run" -l config -d 'TOML configuration file for build' -r -F |
| 507 | complete -c x -n "__fish_x_using_subcommand run" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 507 | complete -c x -n "__fish_x_using_subcommand run" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 508 | 508 | complete -c x -n "__fish_x_using_subcommand run" -l build -d 'build target of the stage0 compiler' -r -f |
| 509 | 509 | complete -c x -n "__fish_x_using_subcommand run" -l host -d 'host targets to build' -r -f |
| 510 | 510 | complete -c x -n "__fish_x_using_subcommand run" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -524,7 +524,7 @@ complete -c x -n "__fish_x_using_subcommand run" -l rust-profile-generate -d 'ge |
| 524 | 524 | complete -c x -n "__fish_x_using_subcommand run" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 525 | 525 | complete -c x -n "__fish_x_using_subcommand run" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 526 | 526 | complete -c x -n "__fish_x_using_subcommand run" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 527 | complete -c x -n "__fish_x_using_subcommand run" -l set -d 'override options in config.toml' -r -f | |
| 527 | complete -c x -n "__fish_x_using_subcommand run" -l set -d 'override options in bootstrap.toml' -r -f | |
| 528 | 528 | complete -c x -n "__fish_x_using_subcommand run" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 529 | 529 | complete -c x -n "__fish_x_using_subcommand run" -s i -l incremental -d 'use incremental compilation' |
| 530 | 530 | complete -c x -n "__fish_x_using_subcommand run" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -537,7 +537,7 @@ complete -c x -n "__fish_x_using_subcommand run" -l enable-bolt-settings -d 'Ena |
| 537 | 537 | complete -c x -n "__fish_x_using_subcommand run" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 538 | 538 | complete -c x -n "__fish_x_using_subcommand run" -s h -l help -d 'Print help (see more with \'--help\')' |
| 539 | 539 | complete -c x -n "__fish_x_using_subcommand setup" -l config -d 'TOML configuration file for build' -r -F |
| 540 | complete -c x -n "__fish_x_using_subcommand setup" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 540 | complete -c x -n "__fish_x_using_subcommand setup" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 541 | 541 | complete -c x -n "__fish_x_using_subcommand setup" -l build -d 'build target of the stage0 compiler' -r -f |
| 542 | 542 | complete -c x -n "__fish_x_using_subcommand setup" -l host -d 'host targets to build' -r -f |
| 543 | 543 | complete -c x -n "__fish_x_using_subcommand setup" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -557,7 +557,7 @@ complete -c x -n "__fish_x_using_subcommand setup" -l rust-profile-generate -d ' |
| 557 | 557 | complete -c x -n "__fish_x_using_subcommand setup" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 558 | 558 | complete -c x -n "__fish_x_using_subcommand setup" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 559 | 559 | complete -c x -n "__fish_x_using_subcommand setup" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 560 | complete -c x -n "__fish_x_using_subcommand setup" -l set -d 'override options in config.toml' -r -f | |
| 560 | complete -c x -n "__fish_x_using_subcommand setup" -l set -d 'override options in bootstrap.toml' -r -f | |
| 561 | 561 | complete -c x -n "__fish_x_using_subcommand setup" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 562 | 562 | complete -c x -n "__fish_x_using_subcommand setup" -s i -l incremental -d 'use incremental compilation' |
| 563 | 563 | complete -c x -n "__fish_x_using_subcommand setup" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -570,7 +570,7 @@ complete -c x -n "__fish_x_using_subcommand setup" -l enable-bolt-settings -d 'E |
| 570 | 570 | complete -c x -n "__fish_x_using_subcommand setup" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 571 | 571 | complete -c x -n "__fish_x_using_subcommand setup" -s h -l help -d 'Print help (see more with \'--help\')' |
| 572 | 572 | complete -c x -n "__fish_x_using_subcommand suggest" -l config -d 'TOML configuration file for build' -r -F |
| 573 | complete -c x -n "__fish_x_using_subcommand suggest" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 573 | complete -c x -n "__fish_x_using_subcommand suggest" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 574 | 574 | complete -c x -n "__fish_x_using_subcommand suggest" -l build -d 'build target of the stage0 compiler' -r -f |
| 575 | 575 | complete -c x -n "__fish_x_using_subcommand suggest" -l host -d 'host targets to build' -r -f |
| 576 | 576 | complete -c x -n "__fish_x_using_subcommand suggest" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -590,7 +590,7 @@ complete -c x -n "__fish_x_using_subcommand suggest" -l rust-profile-generate -d |
| 590 | 590 | complete -c x -n "__fish_x_using_subcommand suggest" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 591 | 591 | complete -c x -n "__fish_x_using_subcommand suggest" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 592 | 592 | complete -c x -n "__fish_x_using_subcommand suggest" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 593 | complete -c x -n "__fish_x_using_subcommand suggest" -l set -d 'override options in config.toml' -r -f | |
| 593 | complete -c x -n "__fish_x_using_subcommand suggest" -l set -d 'override options in bootstrap.toml' -r -f | |
| 594 | 594 | complete -c x -n "__fish_x_using_subcommand suggest" -l run -d 'run suggested tests' |
| 595 | 595 | complete -c x -n "__fish_x_using_subcommand suggest" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 596 | 596 | complete -c x -n "__fish_x_using_subcommand suggest" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -605,7 +605,7 @@ complete -c x -n "__fish_x_using_subcommand suggest" -l skip-stage0-validation - |
| 605 | 605 | complete -c x -n "__fish_x_using_subcommand suggest" -s h -l help -d 'Print help (see more with \'--help\')' |
| 606 | 606 | complete -c x -n "__fish_x_using_subcommand vendor" -l sync -d 'Additional `Cargo.toml` to sync and vendor' -r -F |
| 607 | 607 | complete -c x -n "__fish_x_using_subcommand vendor" -l config -d 'TOML configuration file for build' -r -F |
| 608 | complete -c x -n "__fish_x_using_subcommand vendor" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 608 | complete -c x -n "__fish_x_using_subcommand vendor" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 609 | 609 | complete -c x -n "__fish_x_using_subcommand vendor" -l build -d 'build target of the stage0 compiler' -r -f |
| 610 | 610 | complete -c x -n "__fish_x_using_subcommand vendor" -l host -d 'host targets to build' -r -f |
| 611 | 611 | complete -c x -n "__fish_x_using_subcommand vendor" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -625,7 +625,7 @@ complete -c x -n "__fish_x_using_subcommand vendor" -l rust-profile-generate -d |
| 625 | 625 | complete -c x -n "__fish_x_using_subcommand vendor" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 626 | 626 | complete -c x -n "__fish_x_using_subcommand vendor" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 627 | 627 | complete -c x -n "__fish_x_using_subcommand vendor" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 628 | complete -c x -n "__fish_x_using_subcommand vendor" -l set -d 'override options in config.toml' -r -f | |
| 628 | complete -c x -n "__fish_x_using_subcommand vendor" -l set -d 'override options in bootstrap.toml' -r -f | |
| 629 | 629 | complete -c x -n "__fish_x_using_subcommand vendor" -l versioned-dirs -d 'Always include version in subdir name' |
| 630 | 630 | complete -c x -n "__fish_x_using_subcommand vendor" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 631 | 631 | complete -c x -n "__fish_x_using_subcommand vendor" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -639,7 +639,7 @@ complete -c x -n "__fish_x_using_subcommand vendor" -l enable-bolt-settings -d ' |
| 639 | 639 | complete -c x -n "__fish_x_using_subcommand vendor" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 640 | 640 | complete -c x -n "__fish_x_using_subcommand vendor" -s h -l help -d 'Print help (see more with \'--help\')' |
| 641 | 641 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l config -d 'TOML configuration file for build' -r -F |
| 642 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 642 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 643 | 643 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build -d 'build target of the stage0 compiler' -r -f |
| 644 | 644 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l host -d 'host targets to build' -r -f |
| 645 | 645 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -659,7 +659,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand |
| 659 | 659 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 660 | 660 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 661 | 661 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 662 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l set -d 'override options in config.toml' -r -f | |
| 662 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l set -d 'override options in bootstrap.toml' -r -f | |
| 663 | 663 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 664 | 664 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -s i -l incremental -d 'use incremental compilation' |
| 665 | 665 | complete -c x -n "__fish_x_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -681,7 +681,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 681 | 681 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 682 | 682 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 683 | 683 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l config -d 'TOML configuration file for build' -r -F |
| 684 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 684 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 685 | 685 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build -d 'build target of the stage0 compiler' -r -f |
| 686 | 686 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l host -d 'host targets to build' -r -f |
| 687 | 687 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -700,7 +700,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 700 | 700 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 701 | 701 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 702 | 702 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 703 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l set -d 'override options in config.toml' -r -f | |
| 703 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l set -d 'override options in bootstrap.toml' -r -f | |
| 704 | 704 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 705 | 705 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -s i -l incremental -d 'use incremental compilation' |
| 706 | 706 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -717,7 +717,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 717 | 717 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 718 | 718 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 719 | 719 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l config -d 'TOML configuration file for build' -r -F |
| 720 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 720 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 721 | 721 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build -d 'build target of the stage0 compiler' -r -f |
| 722 | 722 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l host -d 'host targets to build' -r -f |
| 723 | 723 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -736,7 +736,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 736 | 736 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 737 | 737 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 738 | 738 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 739 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l set -d 'override options in config.toml' -r -f | |
| 739 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l set -d 'override options in bootstrap.toml' -r -f | |
| 740 | 740 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 741 | 741 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -s i -l incremental -d 'use incremental compilation' |
| 742 | 742 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from samply" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -753,7 +753,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 753 | 753 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 754 | 754 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 755 | 755 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l config -d 'TOML configuration file for build' -r -F |
| 756 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 756 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 757 | 757 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build -d 'build target of the stage0 compiler' -r -f |
| 758 | 758 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l host -d 'host targets to build' -r -f |
| 759 | 759 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -772,7 +772,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 772 | 772 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 773 | 773 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 774 | 774 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 775 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l set -d 'override options in config.toml' -r -f | |
| 775 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l set -d 'override options in bootstrap.toml' -r -f | |
| 776 | 776 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 777 | 777 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -s i -l incremental -d 'use incremental compilation' |
| 778 | 778 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -789,7 +789,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 789 | 789 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 790 | 790 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 791 | 791 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l config -d 'TOML configuration file for build' -r -F |
| 792 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 792 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 793 | 793 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build -d 'build target of the stage0 compiler' -r -f |
| 794 | 794 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l host -d 'host targets to build' -r -f |
| 795 | 795 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -808,7 +808,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 808 | 808 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 809 | 809 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 810 | 810 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 811 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l set -d 'override options in config.toml' -r -f | |
| 811 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l set -d 'override options in bootstrap.toml' -r -f | |
| 812 | 812 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 813 | 813 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s i -l incremental -d 'use incremental compilation' |
| 814 | 814 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -821,7 +821,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 821 | 821 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 822 | 822 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s h -l help -d 'Print help (see more with \'--help\')' |
| 823 | 823 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l config -d 'TOML configuration file for build' -r -F |
| 824 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 824 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 825 | 825 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build -d 'build target of the stage0 compiler' -r -f |
| 826 | 826 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l host -d 'host targets to build' -r -f |
| 827 | 827 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -841,7 +841,7 @@ complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_fro |
| 841 | 841 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 842 | 842 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 843 | 843 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 844 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l set -d 'override options in config.toml' -r -f | |
| 844 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l set -d 'override options in bootstrap.toml' -r -f | |
| 845 | 845 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 846 | 846 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -s i -l incremental -d 'use incremental compilation' |
| 847 | 847 | complete -c x -n "__fish_x_using_subcommand perf; and __fish_seen_subcommand_from compare" -l include-default-paths -d 'include default paths in addition to the provided ones' |
src/etc/completions/x.ps1+46-46| ... | ... | @@ -22,7 +22,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 22 | 22 | $completions = @(switch ($command) { |
| 23 | 23 | 'x' { |
| 24 | 24 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 25 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 25 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 26 | 26 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 27 | 27 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 28 | 28 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -43,7 +43,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 43 | 43 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 44 | 44 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 45 | 45 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 46 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 46 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 47 | 47 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 48 | 48 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 49 | 49 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -79,7 +79,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 79 | 79 | } |
| 80 | 80 | 'x;build' { |
| 81 | 81 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 82 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 82 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 83 | 83 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 84 | 84 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 85 | 85 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -100,7 +100,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 100 | 100 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 101 | 101 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 102 | 102 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 103 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 103 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 104 | 104 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 105 | 105 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 106 | 106 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -119,7 +119,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 119 | 119 | } |
| 120 | 120 | 'x;check' { |
| 121 | 121 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 122 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 122 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 123 | 123 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 124 | 124 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 125 | 125 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -140,7 +140,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 140 | 140 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 141 | 141 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 142 | 142 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 143 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 143 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 144 | 144 | [CompletionResult]::new('--all-targets', '--all-targets', [CompletionResultType]::ParameterName, 'Check all targets') |
| 145 | 145 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 146 | 146 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -164,7 +164,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 164 | 164 | [CompletionResult]::new('-W', '-W ', [CompletionResultType]::ParameterName, 'clippy lints to warn on') |
| 165 | 165 | [CompletionResult]::new('-F', '-F ', [CompletionResultType]::ParameterName, 'clippy lints to forbid') |
| 166 | 166 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 167 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 167 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 168 | 168 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 169 | 169 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 170 | 170 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -185,7 +185,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 185 | 185 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 186 | 186 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 187 | 187 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 188 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 188 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 189 | 189 | [CompletionResult]::new('--fix', '--fix', [CompletionResultType]::ParameterName, 'fix') |
| 190 | 190 | [CompletionResult]::new('--allow-dirty', '--allow-dirty', [CompletionResultType]::ParameterName, 'allow-dirty') |
| 191 | 191 | [CompletionResult]::new('--allow-staged', '--allow-staged', [CompletionResultType]::ParameterName, 'allow-staged') |
| ... | ... | @@ -207,7 +207,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 207 | 207 | } |
| 208 | 208 | 'x;fix' { |
| 209 | 209 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 210 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 210 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 211 | 211 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 212 | 212 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 213 | 213 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -228,7 +228,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 228 | 228 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 229 | 229 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 230 | 230 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 231 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 231 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 232 | 232 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 233 | 233 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 234 | 234 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -247,7 +247,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 247 | 247 | } |
| 248 | 248 | 'x;fmt' { |
| 249 | 249 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 250 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 250 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 251 | 251 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 252 | 252 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 253 | 253 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -268,7 +268,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 268 | 268 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 269 | 269 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 270 | 270 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 271 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 271 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 272 | 272 | [CompletionResult]::new('--check', '--check', [CompletionResultType]::ParameterName, 'check formatting instead of applying') |
| 273 | 273 | [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'apply to all appropriate files, not just those that have been modified') |
| 274 | 274 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -289,7 +289,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 289 | 289 | } |
| 290 | 290 | 'x;doc' { |
| 291 | 291 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 292 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 292 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 293 | 293 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 294 | 294 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 295 | 295 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -310,7 +310,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 310 | 310 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 311 | 311 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 312 | 312 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 313 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 313 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 314 | 314 | [CompletionResult]::new('--open', '--open', [CompletionResultType]::ParameterName, 'open the docs in a browser') |
| 315 | 315 | [CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'render the documentation in JSON format in addition to the usual HTML format') |
| 316 | 316 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -337,7 +337,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 337 | 337 | [CompletionResult]::new('--pass', '--pass', [CompletionResultType]::ParameterName, 'force {check,build,run}-pass tests to this mode') |
| 338 | 338 | [CompletionResult]::new('--run', '--run', [CompletionResultType]::ParameterName, 'whether to execute run-* tests') |
| 339 | 339 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 340 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 340 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 341 | 341 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 342 | 342 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 343 | 343 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -358,7 +358,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 358 | 358 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 359 | 359 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 360 | 360 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 361 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 361 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 362 | 362 | [CompletionResult]::new('--no-fail-fast', '--no-fail-fast', [CompletionResultType]::ParameterName, 'run all tests regardless of failure') |
| 363 | 363 | [CompletionResult]::new('--no-doc', '--no-doc', [CompletionResultType]::ParameterName, 'do not run doc tests') |
| 364 | 364 | [CompletionResult]::new('--doc', '--doc', [CompletionResultType]::ParameterName, 'only run doc tests') |
| ... | ... | @@ -386,7 +386,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 386 | 386 | 'x;miri' { |
| 387 | 387 | [CompletionResult]::new('--test-args', '--test-args', [CompletionResultType]::ParameterName, 'extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)') |
| 388 | 388 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 389 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 389 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 390 | 390 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 391 | 391 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 392 | 392 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -407,7 +407,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 407 | 407 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 408 | 408 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 409 | 409 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 410 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 410 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 411 | 411 | [CompletionResult]::new('--no-fail-fast', '--no-fail-fast', [CompletionResultType]::ParameterName, 'run all tests regardless of failure') |
| 412 | 412 | [CompletionResult]::new('--no-doc', '--no-doc', [CompletionResultType]::ParameterName, 'do not run doc tests') |
| 413 | 413 | [CompletionResult]::new('--doc', '--doc', [CompletionResultType]::ParameterName, 'only run doc tests') |
| ... | ... | @@ -430,7 +430,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 430 | 430 | 'x;bench' { |
| 431 | 431 | [CompletionResult]::new('--test-args', '--test-args', [CompletionResultType]::ParameterName, 'test-args') |
| 432 | 432 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 433 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 433 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 434 | 434 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 435 | 435 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 436 | 436 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -451,7 +451,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 451 | 451 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 452 | 452 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 453 | 453 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 454 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 454 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 455 | 455 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 456 | 456 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 457 | 457 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -471,7 +471,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 471 | 471 | 'x;clean' { |
| 472 | 472 | [CompletionResult]::new('--stage', '--stage', [CompletionResultType]::ParameterName, 'Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used') |
| 473 | 473 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 474 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 474 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 475 | 475 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 476 | 476 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 477 | 477 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -491,7 +491,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 491 | 491 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 492 | 492 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 493 | 493 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 494 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 494 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 495 | 495 | [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'Clean the entire build directory (not used by default)') |
| 496 | 496 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 497 | 497 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -511,7 +511,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 511 | 511 | } |
| 512 | 512 | 'x;dist' { |
| 513 | 513 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 514 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 514 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 515 | 515 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 516 | 516 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 517 | 517 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -532,7 +532,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 532 | 532 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 533 | 533 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 534 | 534 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 535 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 535 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 536 | 536 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 537 | 537 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 538 | 538 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -551,7 +551,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 551 | 551 | } |
| 552 | 552 | 'x;install' { |
| 553 | 553 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 554 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 554 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 555 | 555 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 556 | 556 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 557 | 557 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -572,7 +572,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 572 | 572 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 573 | 573 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 574 | 574 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 575 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 575 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 576 | 576 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 577 | 577 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 578 | 578 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -592,7 +592,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 592 | 592 | 'x;run' { |
| 593 | 593 | [CompletionResult]::new('--args', '--args', [CompletionResultType]::ParameterName, 'arguments for the tool') |
| 594 | 594 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 595 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 595 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 596 | 596 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 597 | 597 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 598 | 598 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -613,7 +613,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 613 | 613 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 614 | 614 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 615 | 615 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 616 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 616 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 617 | 617 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 618 | 618 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 619 | 619 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -632,7 +632,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 632 | 632 | } |
| 633 | 633 | 'x;setup' { |
| 634 | 634 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 635 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 635 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 636 | 636 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 637 | 637 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 638 | 638 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -653,7 +653,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 653 | 653 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 654 | 654 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 655 | 655 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 656 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 656 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 657 | 657 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 658 | 658 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 659 | 659 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -672,7 +672,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 672 | 672 | } |
| 673 | 673 | 'x;suggest' { |
| 674 | 674 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 675 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 675 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 676 | 676 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 677 | 677 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 678 | 678 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -693,7 +693,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 693 | 693 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 694 | 694 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 695 | 695 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 696 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 696 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 697 | 697 | [CompletionResult]::new('--run', '--run', [CompletionResultType]::ParameterName, 'run suggested tests') |
| 698 | 698 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 699 | 699 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -714,7 +714,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 714 | 714 | 'x;vendor' { |
| 715 | 715 | [CompletionResult]::new('--sync', '--sync', [CompletionResultType]::ParameterName, 'Additional `Cargo.toml` to sync and vendor') |
| 716 | 716 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 717 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 717 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 718 | 718 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 719 | 719 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 720 | 720 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -735,7 +735,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 735 | 735 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 736 | 736 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 737 | 737 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 738 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 738 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 739 | 739 | [CompletionResult]::new('--versioned-dirs', '--versioned-dirs', [CompletionResultType]::ParameterName, 'Always include version in subdir name') |
| 740 | 740 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 741 | 741 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -755,7 +755,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 755 | 755 | } |
| 756 | 756 | 'x;perf' { |
| 757 | 757 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 758 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 758 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 759 | 759 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 760 | 760 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 761 | 761 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -776,7 +776,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 776 | 776 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 777 | 777 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 778 | 778 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 779 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 779 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 780 | 780 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 781 | 781 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 782 | 782 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -804,7 +804,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 804 | 804 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 805 | 805 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 806 | 806 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 807 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 807 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 808 | 808 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 809 | 809 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 810 | 810 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -824,7 +824,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 824 | 824 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 825 | 825 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 826 | 826 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 827 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 827 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 828 | 828 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 829 | 829 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 830 | 830 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -847,7 +847,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 847 | 847 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 848 | 848 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 849 | 849 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 850 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 850 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 851 | 851 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 852 | 852 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 853 | 853 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -867,7 +867,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 867 | 867 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 868 | 868 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 869 | 869 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 870 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 870 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 871 | 871 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 872 | 872 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 873 | 873 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -890,7 +890,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 890 | 890 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 891 | 891 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 892 | 892 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 893 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 893 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 894 | 894 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 895 | 895 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 896 | 896 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -910,7 +910,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 910 | 910 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 911 | 911 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 912 | 912 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 913 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 913 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 914 | 914 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 915 | 915 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 916 | 916 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -933,7 +933,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 933 | 933 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 934 | 934 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 935 | 935 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 936 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 936 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 937 | 937 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 938 | 938 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 939 | 939 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -953,7 +953,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 953 | 953 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 954 | 954 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 955 | 955 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 956 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 956 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 957 | 957 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 958 | 958 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 959 | 959 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -972,7 +972,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 972 | 972 | } |
| 973 | 973 | 'x;perf;compare' { |
| 974 | 974 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 975 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 975 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 976 | 976 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 977 | 977 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 978 | 978 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -993,7 +993,7 @@ Register-ArgumentCompleter -Native -CommandName 'x' -ScriptBlock { |
| 993 | 993 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 994 | 994 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 995 | 995 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 996 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 996 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 997 | 997 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 998 | 998 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 999 | 999 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
src/etc/completions/x.py.fish+46-46| ... | ... | @@ -25,7 +25,7 @@ function __fish_x.py_using_subcommand |
| 25 | 25 | end |
| 26 | 26 | |
| 27 | 27 | complete -c x.py -n "__fish_x.py_needs_command" -l config -d 'TOML configuration file for build' -r -F |
| 28 | complete -c x.py -n "__fish_x.py_needs_command" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 28 | complete -c x.py -n "__fish_x.py_needs_command" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 29 | 29 | complete -c x.py -n "__fish_x.py_needs_command" -l build -d 'build target of the stage0 compiler' -r -f |
| 30 | 30 | complete -c x.py -n "__fish_x.py_needs_command" -l host -d 'host targets to build' -r -f |
| 31 | 31 | complete -c x.py -n "__fish_x.py_needs_command" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -45,7 +45,7 @@ complete -c x.py -n "__fish_x.py_needs_command" -l rust-profile-generate -d 'gen |
| 45 | 45 | complete -c x.py -n "__fish_x.py_needs_command" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 46 | 46 | complete -c x.py -n "__fish_x.py_needs_command" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 47 | 47 | complete -c x.py -n "__fish_x.py_needs_command" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 48 | complete -c x.py -n "__fish_x.py_needs_command" -l set -d 'override options in config.toml' -r -f | |
| 48 | complete -c x.py -n "__fish_x.py_needs_command" -l set -d 'override options in bootstrap.toml' -r -f | |
| 49 | 49 | complete -c x.py -n "__fish_x.py_needs_command" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 50 | 50 | complete -c x.py -n "__fish_x.py_needs_command" -s i -l incremental -d 'use incremental compilation' |
| 51 | 51 | complete -c x.py -n "__fish_x.py_needs_command" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -75,7 +75,7 @@ complete -c x.py -n "__fish_x.py_needs_command" -a "suggest" -d 'Suggest a subse |
| 75 | 75 | complete -c x.py -n "__fish_x.py_needs_command" -a "vendor" -d 'Vendor dependencies' |
| 76 | 76 | complete -c x.py -n "__fish_x.py_needs_command" -a "perf" -d 'Perform profiling and benchmarking of the compiler using `rustc-perf`' |
| 77 | 77 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l config -d 'TOML configuration file for build' -r -F |
| 78 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 78 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 79 | 79 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l build -d 'build target of the stage0 compiler' -r -f |
| 80 | 80 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l host -d 'host targets to build' -r -f |
| 81 | 81 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -95,7 +95,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand build" -l rust-profile-generat |
| 95 | 95 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 96 | 96 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 97 | 97 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 98 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l set -d 'override options in config.toml' -r -f | |
| 98 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l set -d 'override options in bootstrap.toml' -r -f | |
| 99 | 99 | complete -c x.py -n "__fish_x.py_using_subcommand build" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 100 | 100 | complete -c x.py -n "__fish_x.py_using_subcommand build" -s i -l incremental -d 'use incremental compilation' |
| 101 | 101 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -108,7 +108,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand build" -l enable-bolt-settings |
| 108 | 108 | complete -c x.py -n "__fish_x.py_using_subcommand build" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 109 | 109 | complete -c x.py -n "__fish_x.py_using_subcommand build" -s h -l help -d 'Print help (see more with \'--help\')' |
| 110 | 110 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l config -d 'TOML configuration file for build' -r -F |
| 111 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 111 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 112 | 112 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l build -d 'build target of the stage0 compiler' -r -f |
| 113 | 113 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l host -d 'host targets to build' -r -f |
| 114 | 114 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -128,7 +128,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand check" -l rust-profile-generat |
| 128 | 128 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 129 | 129 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 130 | 130 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 131 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l set -d 'override options in config.toml' -r -f | |
| 131 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l set -d 'override options in bootstrap.toml' -r -f | |
| 132 | 132 | complete -c x.py -n "__fish_x.py_using_subcommand check" -l all-targets -d 'Check all targets' |
| 133 | 133 | complete -c x.py -n "__fish_x.py_using_subcommand check" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 134 | 134 | complete -c x.py -n "__fish_x.py_using_subcommand check" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -146,7 +146,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand clippy" -s D -d 'clippy lints |
| 146 | 146 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -s W -d 'clippy lints to warn on' -r |
| 147 | 147 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -s F -d 'clippy lints to forbid' -r |
| 148 | 148 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l config -d 'TOML configuration file for build' -r -F |
| 149 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 149 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 150 | 150 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l build -d 'build target of the stage0 compiler' -r -f |
| 151 | 151 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l host -d 'host targets to build' -r -f |
| 152 | 152 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -166,7 +166,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l rust-profile-genera |
| 166 | 166 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 167 | 167 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 168 | 168 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 169 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l set -d 'override options in config.toml' -r -f | |
| 169 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l set -d 'override options in bootstrap.toml' -r -f | |
| 170 | 170 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l fix |
| 171 | 171 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l allow-dirty |
| 172 | 172 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l allow-staged |
| ... | ... | @@ -182,7 +182,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l enable-bolt-setting |
| 182 | 182 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 183 | 183 | complete -c x.py -n "__fish_x.py_using_subcommand clippy" -s h -l help -d 'Print help (see more with \'--help\')' |
| 184 | 184 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l config -d 'TOML configuration file for build' -r -F |
| 185 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 185 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 186 | 186 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l build -d 'build target of the stage0 compiler' -r -f |
| 187 | 187 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l host -d 'host targets to build' -r -f |
| 188 | 188 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -202,7 +202,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand fix" -l rust-profile-generate |
| 202 | 202 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 203 | 203 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 204 | 204 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 205 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l set -d 'override options in config.toml' -r -f | |
| 205 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l set -d 'override options in bootstrap.toml' -r -f | |
| 206 | 206 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 207 | 207 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -s i -l incremental -d 'use incremental compilation' |
| 208 | 208 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -215,7 +215,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand fix" -l enable-bolt-settings - |
| 215 | 215 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 216 | 216 | complete -c x.py -n "__fish_x.py_using_subcommand fix" -s h -l help -d 'Print help (see more with \'--help\')' |
| 217 | 217 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l config -d 'TOML configuration file for build' -r -F |
| 218 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 218 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 219 | 219 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l build -d 'build target of the stage0 compiler' -r -f |
| 220 | 220 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l host -d 'host targets to build' -r -f |
| 221 | 221 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -235,7 +235,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l rust-profile-generate |
| 235 | 235 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 236 | 236 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 237 | 237 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 238 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l set -d 'override options in config.toml' -r -f | |
| 238 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l set -d 'override options in bootstrap.toml' -r -f | |
| 239 | 239 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l check -d 'check formatting instead of applying' |
| 240 | 240 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l all -d 'apply to all appropriate files, not just those that have been modified' |
| 241 | 241 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| ... | ... | @@ -250,7 +250,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l enable-bolt-settings - |
| 250 | 250 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 251 | 251 | complete -c x.py -n "__fish_x.py_using_subcommand fmt" -s h -l help -d 'Print help (see more with \'--help\')' |
| 252 | 252 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l config -d 'TOML configuration file for build' -r -F |
| 253 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 253 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 254 | 254 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l build -d 'build target of the stage0 compiler' -r -f |
| 255 | 255 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l host -d 'host targets to build' -r -f |
| 256 | 256 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -270,7 +270,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand doc" -l rust-profile-generate |
| 270 | 270 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 271 | 271 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 272 | 272 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 273 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l set -d 'override options in config.toml' -r -f | |
| 273 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l set -d 'override options in bootstrap.toml' -r -f | |
| 274 | 274 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l open -d 'open the docs in a browser' |
| 275 | 275 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -l json -d 'render the documentation in JSON format in addition to the usual HTML format' |
| 276 | 276 | complete -c x.py -n "__fish_x.py_using_subcommand doc" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| ... | ... | @@ -291,7 +291,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand test" -l compare-mode -d 'mode |
| 291 | 291 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l pass -d 'force {check,build,run}-pass tests to this mode' -r |
| 292 | 292 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l run -d 'whether to execute run-* tests' -r |
| 293 | 293 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l config -d 'TOML configuration file for build' -r -F |
| 294 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 294 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 295 | 295 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l build -d 'build target of the stage0 compiler' -r -f |
| 296 | 296 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l host -d 'host targets to build' -r -f |
| 297 | 297 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -311,7 +311,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand test" -l rust-profile-generate |
| 311 | 311 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 312 | 312 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 313 | 313 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 314 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l set -d 'override options in config.toml' -r -f | |
| 314 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l set -d 'override options in bootstrap.toml' -r -f | |
| 315 | 315 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l no-fail-fast -d 'run all tests regardless of failure' |
| 316 | 316 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l no-doc -d 'do not run doc tests' |
| 317 | 317 | complete -c x.py -n "__fish_x.py_using_subcommand test" -l doc -d 'only run doc tests' |
| ... | ... | @@ -333,7 +333,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand test" -l skip-stage0-validatio |
| 333 | 333 | complete -c x.py -n "__fish_x.py_using_subcommand test" -s h -l help -d 'Print help (see more with \'--help\')' |
| 334 | 334 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l test-args -d 'extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)' -r |
| 335 | 335 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l config -d 'TOML configuration file for build' -r -F |
| 336 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 336 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 337 | 337 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l build -d 'build target of the stage0 compiler' -r -f |
| 338 | 338 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l host -d 'host targets to build' -r -f |
| 339 | 339 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -353,7 +353,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand miri" -l rust-profile-generate |
| 353 | 353 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 354 | 354 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 355 | 355 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 356 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l set -d 'override options in config.toml' -r -f | |
| 356 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l set -d 'override options in bootstrap.toml' -r -f | |
| 357 | 357 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l no-fail-fast -d 'run all tests regardless of failure' |
| 358 | 358 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l no-doc -d 'do not run doc tests' |
| 359 | 359 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -l doc -d 'only run doc tests' |
| ... | ... | @@ -370,7 +370,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand miri" -l skip-stage0-validatio |
| 370 | 370 | complete -c x.py -n "__fish_x.py_using_subcommand miri" -s h -l help -d 'Print help (see more with \'--help\')' |
| 371 | 371 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l test-args -r |
| 372 | 372 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l config -d 'TOML configuration file for build' -r -F |
| 373 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 373 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 374 | 374 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l build -d 'build target of the stage0 compiler' -r -f |
| 375 | 375 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l host -d 'host targets to build' -r -f |
| 376 | 376 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -390,7 +390,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand bench" -l rust-profile-generat |
| 390 | 390 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 391 | 391 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 392 | 392 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 393 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l set -d 'override options in config.toml' -r -f | |
| 393 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l set -d 'override options in bootstrap.toml' -r -f | |
| 394 | 394 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 395 | 395 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -s i -l incremental -d 'use incremental compilation' |
| 396 | 396 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -404,7 +404,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand bench" -l skip-stage0-validati |
| 404 | 404 | complete -c x.py -n "__fish_x.py_using_subcommand bench" -s h -l help -d 'Print help (see more with \'--help\')' |
| 405 | 405 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l stage -d 'Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used' -r |
| 406 | 406 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l config -d 'TOML configuration file for build' -r -F |
| 407 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 407 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 408 | 408 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l build -d 'build target of the stage0 compiler' -r -f |
| 409 | 409 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l host -d 'host targets to build' -r -f |
| 410 | 410 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -423,7 +423,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand clean" -l rust-profile-generat |
| 423 | 423 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 424 | 424 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 425 | 425 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 426 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l set -d 'override options in config.toml' -r -f | |
| 426 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l set -d 'override options in bootstrap.toml' -r -f | |
| 427 | 427 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l all -d 'Clean the entire build directory (not used by default)' |
| 428 | 428 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 429 | 429 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -437,7 +437,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand clean" -l enable-bolt-settings |
| 437 | 437 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 438 | 438 | complete -c x.py -n "__fish_x.py_using_subcommand clean" -s h -l help -d 'Print help (see more with \'--help\')' |
| 439 | 439 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l config -d 'TOML configuration file for build' -r -F |
| 440 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 440 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 441 | 441 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l build -d 'build target of the stage0 compiler' -r -f |
| 442 | 442 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l host -d 'host targets to build' -r -f |
| 443 | 443 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -457,7 +457,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand dist" -l rust-profile-generate |
| 457 | 457 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 458 | 458 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 459 | 459 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 460 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l set -d 'override options in config.toml' -r -f | |
| 460 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l set -d 'override options in bootstrap.toml' -r -f | |
| 461 | 461 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 462 | 462 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -s i -l incremental -d 'use incremental compilation' |
| 463 | 463 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -470,7 +470,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand dist" -l enable-bolt-settings |
| 470 | 470 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 471 | 471 | complete -c x.py -n "__fish_x.py_using_subcommand dist" -s h -l help -d 'Print help (see more with \'--help\')' |
| 472 | 472 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l config -d 'TOML configuration file for build' -r -F |
| 473 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 473 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 474 | 474 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l build -d 'build target of the stage0 compiler' -r -f |
| 475 | 475 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l host -d 'host targets to build' -r -f |
| 476 | 476 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -490,7 +490,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand install" -l rust-profile-gener |
| 490 | 490 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 491 | 491 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 492 | 492 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 493 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l set -d 'override options in config.toml' -r -f | |
| 493 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l set -d 'override options in bootstrap.toml' -r -f | |
| 494 | 494 | complete -c x.py -n "__fish_x.py_using_subcommand install" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 495 | 495 | complete -c x.py -n "__fish_x.py_using_subcommand install" -s i -l incremental -d 'use incremental compilation' |
| 496 | 496 | complete -c x.py -n "__fish_x.py_using_subcommand install" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -504,7 +504,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand install" -l skip-stage0-valida |
| 504 | 504 | complete -c x.py -n "__fish_x.py_using_subcommand install" -s h -l help -d 'Print help (see more with \'--help\')' |
| 505 | 505 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l args -d 'arguments for the tool' -r |
| 506 | 506 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l config -d 'TOML configuration file for build' -r -F |
| 507 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 507 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 508 | 508 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l build -d 'build target of the stage0 compiler' -r -f |
| 509 | 509 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l host -d 'host targets to build' -r -f |
| 510 | 510 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -524,7 +524,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand run" -l rust-profile-generate |
| 524 | 524 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 525 | 525 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 526 | 526 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 527 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l set -d 'override options in config.toml' -r -f | |
| 527 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l set -d 'override options in bootstrap.toml' -r -f | |
| 528 | 528 | complete -c x.py -n "__fish_x.py_using_subcommand run" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 529 | 529 | complete -c x.py -n "__fish_x.py_using_subcommand run" -s i -l incremental -d 'use incremental compilation' |
| 530 | 530 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -537,7 +537,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand run" -l enable-bolt-settings - |
| 537 | 537 | complete -c x.py -n "__fish_x.py_using_subcommand run" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 538 | 538 | complete -c x.py -n "__fish_x.py_using_subcommand run" -s h -l help -d 'Print help (see more with \'--help\')' |
| 539 | 539 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l config -d 'TOML configuration file for build' -r -F |
| 540 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 540 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 541 | 541 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l build -d 'build target of the stage0 compiler' -r -f |
| 542 | 542 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l host -d 'host targets to build' -r -f |
| 543 | 543 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -557,7 +557,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand setup" -l rust-profile-generat |
| 557 | 557 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 558 | 558 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 559 | 559 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 560 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l set -d 'override options in config.toml' -r -f | |
| 560 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l set -d 'override options in bootstrap.toml' -r -f | |
| 561 | 561 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 562 | 562 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -s i -l incremental -d 'use incremental compilation' |
| 563 | 563 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -570,7 +570,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand setup" -l enable-bolt-settings |
| 570 | 570 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 571 | 571 | complete -c x.py -n "__fish_x.py_using_subcommand setup" -s h -l help -d 'Print help (see more with \'--help\')' |
| 572 | 572 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l config -d 'TOML configuration file for build' -r -F |
| 573 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 573 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 574 | 574 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l build -d 'build target of the stage0 compiler' -r -f |
| 575 | 575 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l host -d 'host targets to build' -r -f |
| 576 | 576 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -590,7 +590,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l rust-profile-gener |
| 590 | 590 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 591 | 591 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 592 | 592 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 593 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l set -d 'override options in config.toml' -r -f | |
| 593 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l set -d 'override options in bootstrap.toml' -r -f | |
| 594 | 594 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l run -d 'run suggested tests' |
| 595 | 595 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 596 | 596 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -605,7 +605,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand suggest" -l skip-stage0-valida |
| 605 | 605 | complete -c x.py -n "__fish_x.py_using_subcommand suggest" -s h -l help -d 'Print help (see more with \'--help\')' |
| 606 | 606 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l sync -d 'Additional `Cargo.toml` to sync and vendor' -r -F |
| 607 | 607 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l config -d 'TOML configuration file for build' -r -F |
| 608 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 608 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 609 | 609 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l build -d 'build target of the stage0 compiler' -r -f |
| 610 | 610 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l host -d 'host targets to build' -r -f |
| 611 | 611 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -625,7 +625,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l rust-profile-genera |
| 625 | 625 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 626 | 626 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 627 | 627 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 628 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l set -d 'override options in config.toml' -r -f | |
| 628 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l set -d 'override options in bootstrap.toml' -r -f | |
| 629 | 629 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l versioned-dirs -d 'Always include version in subdir name' |
| 630 | 630 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 631 | 631 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -s i -l incremental -d 'use incremental compilation' |
| ... | ... | @@ -639,7 +639,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l enable-bolt-setting |
| 639 | 639 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 640 | 640 | complete -c x.py -n "__fish_x.py_using_subcommand vendor" -s h -l help -d 'Print help (see more with \'--help\')' |
| 641 | 641 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l config -d 'TOML configuration file for build' -r -F |
| 642 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 642 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 643 | 643 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l build -d 'build target of the stage0 compiler' -r -f |
| 644 | 644 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l host -d 'host targets to build' -r -f |
| 645 | 645 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -659,7 +659,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subc |
| 659 | 659 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 660 | 660 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 661 | 661 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 662 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l set -d 'override options in config.toml' -r -f | |
| 662 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l set -d 'override options in bootstrap.toml' -r -f | |
| 663 | 663 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 664 | 664 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -s i -l incremental -d 'use incremental compilation' |
| 665 | 665 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and not __fish_seen_subcommand_from eprintln samply cachegrind benchmark compare" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -681,7 +681,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 681 | 681 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 682 | 682 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 683 | 683 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l config -d 'TOML configuration file for build' -r -F |
| 684 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 684 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 685 | 685 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l build -d 'build target of the stage0 compiler' -r -f |
| 686 | 686 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l host -d 'host targets to build' -r -f |
| 687 | 687 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -700,7 +700,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 700 | 700 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 701 | 701 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 702 | 702 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 703 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l set -d 'override options in config.toml' -r -f | |
| 703 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l set -d 'override options in bootstrap.toml' -r -f | |
| 704 | 704 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 705 | 705 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -s i -l incremental -d 'use incremental compilation' |
| 706 | 706 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from eprintln" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -717,7 +717,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 717 | 717 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 718 | 718 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 719 | 719 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l config -d 'TOML configuration file for build' -r -F |
| 720 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 720 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 721 | 721 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l build -d 'build target of the stage0 compiler' -r -f |
| 722 | 722 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l host -d 'host targets to build' -r -f |
| 723 | 723 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -736,7 +736,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 736 | 736 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 737 | 737 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 738 | 738 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 739 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l set -d 'override options in config.toml' -r -f | |
| 739 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l set -d 'override options in bootstrap.toml' -r -f | |
| 740 | 740 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 741 | 741 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -s i -l incremental -d 'use incremental compilation' |
| 742 | 742 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from samply" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -753,7 +753,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 753 | 753 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 754 | 754 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 755 | 755 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l config -d 'TOML configuration file for build' -r -F |
| 756 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 756 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 757 | 757 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l build -d 'build target of the stage0 compiler' -r -f |
| 758 | 758 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l host -d 'host targets to build' -r -f |
| 759 | 759 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -772,7 +772,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 772 | 772 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 773 | 773 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 774 | 774 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 775 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l set -d 'override options in config.toml' -r -f | |
| 775 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l set -d 'override options in bootstrap.toml' -r -f | |
| 776 | 776 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 777 | 777 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -s i -l incremental -d 'use incremental compilation' |
| 778 | 778 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from cachegrind" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -789,7 +789,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 789 | 789 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l scenarios -d 'Select the scenarios that should be benchmarked' -r -f -a "{Full\t'',IncrFull\t'',IncrUnchanged\t'',IncrPatched\t''}" |
| 790 | 790 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l profiles -d 'Select the profiles that should be benchmarked' -r -f -a "{Check\t'',Debug\t'',Doc\t'',Opt\t'',Clippy\t''}" |
| 791 | 791 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l config -d 'TOML configuration file for build' -r -F |
| 792 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 792 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 793 | 793 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l build -d 'build target of the stage0 compiler' -r -f |
| 794 | 794 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l host -d 'host targets to build' -r -f |
| 795 | 795 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -808,7 +808,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 808 | 808 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 809 | 809 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 810 | 810 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 811 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l set -d 'override options in config.toml' -r -f | |
| 811 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l set -d 'override options in bootstrap.toml' -r -f | |
| 812 | 812 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 813 | 813 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s i -l incremental -d 'use incremental compilation' |
| 814 | 814 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l include-default-paths -d 'include default paths in addition to the provided ones' |
| ... | ... | @@ -821,7 +821,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 821 | 821 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -l skip-stage0-validation -d 'Skip stage0 compiler validation' |
| 822 | 822 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from benchmark" -s h -l help -d 'Print help (see more with \'--help\')' |
| 823 | 823 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l config -d 'TOML configuration file for build' -r -F |
| 824 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `config.toml`' -r -f -a "(__fish_complete_directories)" | |
| 824 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build-dir -d 'Build directory, overrides `build.build-dir` in `bootstrap.toml`' -r -f -a "(__fish_complete_directories)" | |
| 825 | 825 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l build -d 'build target of the stage0 compiler' -r -f |
| 826 | 826 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l host -d 'host targets to build' -r -f |
| 827 | 827 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l target -d 'target targets to build' -r -f |
| ... | ... | @@ -841,7 +841,7 @@ complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcomma |
| 841 | 841 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l rust-profile-use -d 'use PGO profile for rustc build' -r -F |
| 842 | 842 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l llvm-profile-use -d 'use PGO profile for LLVM build' -r -F |
| 843 | 843 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l reproducible-artifact -d 'Additional reproducible artifacts that should be added to the reproducible artifacts archive' -r |
| 844 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l set -d 'override options in config.toml' -r -f | |
| 844 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l set -d 'override options in bootstrap.toml' -r -f | |
| 845 | 845 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -s v -l verbose -d 'use verbose output (-vv for very verbose)' |
| 846 | 846 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -s i -l incremental -d 'use incremental compilation' |
| 847 | 847 | complete -c x.py -n "__fish_x.py_using_subcommand perf; and __fish_seen_subcommand_from compare" -l include-default-paths -d 'include default paths in addition to the provided ones' |
src/etc/completions/x.py.ps1+46-46| ... | ... | @@ -22,7 +22,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 22 | 22 | $completions = @(switch ($command) { |
| 23 | 23 | 'x.py' { |
| 24 | 24 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 25 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 25 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 26 | 26 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 27 | 27 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 28 | 28 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -43,7 +43,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 43 | 43 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 44 | 44 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 45 | 45 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 46 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 46 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 47 | 47 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 48 | 48 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 49 | 49 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -79,7 +79,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 79 | 79 | } |
| 80 | 80 | 'x.py;build' { |
| 81 | 81 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 82 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 82 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 83 | 83 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 84 | 84 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 85 | 85 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -100,7 +100,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 100 | 100 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 101 | 101 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 102 | 102 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 103 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 103 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 104 | 104 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 105 | 105 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 106 | 106 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -119,7 +119,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 119 | 119 | } |
| 120 | 120 | 'x.py;check' { |
| 121 | 121 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 122 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 122 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 123 | 123 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 124 | 124 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 125 | 125 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -140,7 +140,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 140 | 140 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 141 | 141 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 142 | 142 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 143 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 143 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 144 | 144 | [CompletionResult]::new('--all-targets', '--all-targets', [CompletionResultType]::ParameterName, 'Check all targets') |
| 145 | 145 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 146 | 146 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -164,7 +164,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 164 | 164 | [CompletionResult]::new('-W', '-W ', [CompletionResultType]::ParameterName, 'clippy lints to warn on') |
| 165 | 165 | [CompletionResult]::new('-F', '-F ', [CompletionResultType]::ParameterName, 'clippy lints to forbid') |
| 166 | 166 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 167 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 167 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 168 | 168 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 169 | 169 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 170 | 170 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -185,7 +185,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 185 | 185 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 186 | 186 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 187 | 187 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 188 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 188 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 189 | 189 | [CompletionResult]::new('--fix', '--fix', [CompletionResultType]::ParameterName, 'fix') |
| 190 | 190 | [CompletionResult]::new('--allow-dirty', '--allow-dirty', [CompletionResultType]::ParameterName, 'allow-dirty') |
| 191 | 191 | [CompletionResult]::new('--allow-staged', '--allow-staged', [CompletionResultType]::ParameterName, 'allow-staged') |
| ... | ... | @@ -207,7 +207,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 207 | 207 | } |
| 208 | 208 | 'x.py;fix' { |
| 209 | 209 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 210 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 210 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 211 | 211 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 212 | 212 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 213 | 213 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -228,7 +228,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 228 | 228 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 229 | 229 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 230 | 230 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 231 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 231 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 232 | 232 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 233 | 233 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 234 | 234 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -247,7 +247,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 247 | 247 | } |
| 248 | 248 | 'x.py;fmt' { |
| 249 | 249 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 250 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 250 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 251 | 251 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 252 | 252 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 253 | 253 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -268,7 +268,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 268 | 268 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 269 | 269 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 270 | 270 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 271 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 271 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 272 | 272 | [CompletionResult]::new('--check', '--check', [CompletionResultType]::ParameterName, 'check formatting instead of applying') |
| 273 | 273 | [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'apply to all appropriate files, not just those that have been modified') |
| 274 | 274 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -289,7 +289,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 289 | 289 | } |
| 290 | 290 | 'x.py;doc' { |
| 291 | 291 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 292 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 292 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 293 | 293 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 294 | 294 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 295 | 295 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -310,7 +310,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 310 | 310 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 311 | 311 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 312 | 312 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 313 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 313 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 314 | 314 | [CompletionResult]::new('--open', '--open', [CompletionResultType]::ParameterName, 'open the docs in a browser') |
| 315 | 315 | [CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'render the documentation in JSON format in addition to the usual HTML format') |
| 316 | 316 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -337,7 +337,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 337 | 337 | [CompletionResult]::new('--pass', '--pass', [CompletionResultType]::ParameterName, 'force {check,build,run}-pass tests to this mode') |
| 338 | 338 | [CompletionResult]::new('--run', '--run', [CompletionResultType]::ParameterName, 'whether to execute run-* tests') |
| 339 | 339 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 340 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 340 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 341 | 341 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 342 | 342 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 343 | 343 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -358,7 +358,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 358 | 358 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 359 | 359 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 360 | 360 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 361 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 361 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 362 | 362 | [CompletionResult]::new('--no-fail-fast', '--no-fail-fast', [CompletionResultType]::ParameterName, 'run all tests regardless of failure') |
| 363 | 363 | [CompletionResult]::new('--no-doc', '--no-doc', [CompletionResultType]::ParameterName, 'do not run doc tests') |
| 364 | 364 | [CompletionResult]::new('--doc', '--doc', [CompletionResultType]::ParameterName, 'only run doc tests') |
| ... | ... | @@ -386,7 +386,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 386 | 386 | 'x.py;miri' { |
| 387 | 387 | [CompletionResult]::new('--test-args', '--test-args', [CompletionResultType]::ParameterName, 'extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)') |
| 388 | 388 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 389 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 389 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 390 | 390 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 391 | 391 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 392 | 392 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -407,7 +407,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 407 | 407 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 408 | 408 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 409 | 409 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 410 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 410 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 411 | 411 | [CompletionResult]::new('--no-fail-fast', '--no-fail-fast', [CompletionResultType]::ParameterName, 'run all tests regardless of failure') |
| 412 | 412 | [CompletionResult]::new('--no-doc', '--no-doc', [CompletionResultType]::ParameterName, 'do not run doc tests') |
| 413 | 413 | [CompletionResult]::new('--doc', '--doc', [CompletionResultType]::ParameterName, 'only run doc tests') |
| ... | ... | @@ -430,7 +430,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 430 | 430 | 'x.py;bench' { |
| 431 | 431 | [CompletionResult]::new('--test-args', '--test-args', [CompletionResultType]::ParameterName, 'test-args') |
| 432 | 432 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 433 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 433 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 434 | 434 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 435 | 435 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 436 | 436 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -451,7 +451,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 451 | 451 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 452 | 452 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 453 | 453 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 454 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 454 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 455 | 455 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 456 | 456 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 457 | 457 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -471,7 +471,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 471 | 471 | 'x.py;clean' { |
| 472 | 472 | [CompletionResult]::new('--stage', '--stage', [CompletionResultType]::ParameterName, 'Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used') |
| 473 | 473 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 474 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 474 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 475 | 475 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 476 | 476 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 477 | 477 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -491,7 +491,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 491 | 491 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 492 | 492 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 493 | 493 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 494 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 494 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 495 | 495 | [CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'Clean the entire build directory (not used by default)') |
| 496 | 496 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 497 | 497 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -511,7 +511,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 511 | 511 | } |
| 512 | 512 | 'x.py;dist' { |
| 513 | 513 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 514 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 514 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 515 | 515 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 516 | 516 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 517 | 517 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -532,7 +532,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 532 | 532 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 533 | 533 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 534 | 534 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 535 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 535 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 536 | 536 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 537 | 537 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 538 | 538 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -551,7 +551,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 551 | 551 | } |
| 552 | 552 | 'x.py;install' { |
| 553 | 553 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 554 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 554 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 555 | 555 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 556 | 556 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 557 | 557 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -572,7 +572,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 572 | 572 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 573 | 573 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 574 | 574 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 575 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 575 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 576 | 576 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 577 | 577 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 578 | 578 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -592,7 +592,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 592 | 592 | 'x.py;run' { |
| 593 | 593 | [CompletionResult]::new('--args', '--args', [CompletionResultType]::ParameterName, 'arguments for the tool') |
| 594 | 594 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 595 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 595 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 596 | 596 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 597 | 597 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 598 | 598 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -613,7 +613,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 613 | 613 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 614 | 614 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 615 | 615 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 616 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 616 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 617 | 617 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 618 | 618 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 619 | 619 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -632,7 +632,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 632 | 632 | } |
| 633 | 633 | 'x.py;setup' { |
| 634 | 634 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 635 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 635 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 636 | 636 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 637 | 637 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 638 | 638 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -653,7 +653,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 653 | 653 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 654 | 654 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 655 | 655 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 656 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 656 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 657 | 657 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 658 | 658 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 659 | 659 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -672,7 +672,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 672 | 672 | } |
| 673 | 673 | 'x.py;suggest' { |
| 674 | 674 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 675 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 675 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 676 | 676 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 677 | 677 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 678 | 678 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -693,7 +693,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 693 | 693 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 694 | 694 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 695 | 695 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 696 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 696 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 697 | 697 | [CompletionResult]::new('--run', '--run', [CompletionResultType]::ParameterName, 'run suggested tests') |
| 698 | 698 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 699 | 699 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -714,7 +714,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 714 | 714 | 'x.py;vendor' { |
| 715 | 715 | [CompletionResult]::new('--sync', '--sync', [CompletionResultType]::ParameterName, 'Additional `Cargo.toml` to sync and vendor') |
| 716 | 716 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 717 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 717 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 718 | 718 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 719 | 719 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 720 | 720 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -735,7 +735,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 735 | 735 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 736 | 736 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 737 | 737 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 738 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 738 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 739 | 739 | [CompletionResult]::new('--versioned-dirs', '--versioned-dirs', [CompletionResultType]::ParameterName, 'Always include version in subdir name') |
| 740 | 740 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 741 | 741 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| ... | ... | @@ -755,7 +755,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 755 | 755 | } |
| 756 | 756 | 'x.py;perf' { |
| 757 | 757 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 758 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 758 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 759 | 759 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 760 | 760 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 761 | 761 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -776,7 +776,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 776 | 776 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 777 | 777 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 778 | 778 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 779 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 779 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 780 | 780 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 781 | 781 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 782 | 782 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -804,7 +804,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 804 | 804 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 805 | 805 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 806 | 806 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 807 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 807 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 808 | 808 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 809 | 809 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 810 | 810 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -824,7 +824,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 824 | 824 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 825 | 825 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 826 | 826 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 827 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 827 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 828 | 828 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 829 | 829 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 830 | 830 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -847,7 +847,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 847 | 847 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 848 | 848 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 849 | 849 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 850 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 850 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 851 | 851 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 852 | 852 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 853 | 853 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -867,7 +867,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 867 | 867 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 868 | 868 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 869 | 869 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 870 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 870 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 871 | 871 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 872 | 872 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 873 | 873 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -890,7 +890,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 890 | 890 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 891 | 891 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 892 | 892 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 893 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 893 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 894 | 894 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 895 | 895 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 896 | 896 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -910,7 +910,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 910 | 910 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 911 | 911 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 912 | 912 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 913 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 913 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 914 | 914 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 915 | 915 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 916 | 916 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -933,7 +933,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 933 | 933 | [CompletionResult]::new('--scenarios', '--scenarios', [CompletionResultType]::ParameterName, 'Select the scenarios that should be benchmarked') |
| 934 | 934 | [CompletionResult]::new('--profiles', '--profiles', [CompletionResultType]::ParameterName, 'Select the profiles that should be benchmarked') |
| 935 | 935 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 936 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 936 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 937 | 937 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 938 | 938 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 939 | 939 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -953,7 +953,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 953 | 953 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 954 | 954 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 955 | 955 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 956 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 956 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 957 | 957 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 958 | 958 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 959 | 959 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
| ... | ... | @@ -972,7 +972,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 972 | 972 | } |
| 973 | 973 | 'x.py;perf;compare' { |
| 974 | 974 | [CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'TOML configuration file for build') |
| 975 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `config.toml`') | |
| 975 | [CompletionResult]::new('--build-dir', '--build-dir', [CompletionResultType]::ParameterName, 'Build directory, overrides `build.build-dir` in `bootstrap.toml`') | |
| 976 | 976 | [CompletionResult]::new('--build', '--build', [CompletionResultType]::ParameterName, 'build target of the stage0 compiler') |
| 977 | 977 | [CompletionResult]::new('--host', '--host', [CompletionResultType]::ParameterName, 'host targets to build') |
| 978 | 978 | [CompletionResult]::new('--target', '--target', [CompletionResultType]::ParameterName, 'target targets to build') |
| ... | ... | @@ -993,7 +993,7 @@ Register-ArgumentCompleter -Native -CommandName 'x.py' -ScriptBlock { |
| 993 | 993 | [CompletionResult]::new('--rust-profile-use', '--rust-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for rustc build') |
| 994 | 994 | [CompletionResult]::new('--llvm-profile-use', '--llvm-profile-use', [CompletionResultType]::ParameterName, 'use PGO profile for LLVM build') |
| 995 | 995 | [CompletionResult]::new('--reproducible-artifact', '--reproducible-artifact', [CompletionResultType]::ParameterName, 'Additional reproducible artifacts that should be added to the reproducible artifacts archive') |
| 996 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in config.toml') | |
| 996 | [CompletionResult]::new('--set', '--set', [CompletionResultType]::ParameterName, 'override options in bootstrap.toml') | |
| 997 | 997 | [CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 998 | 998 | [CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'use verbose output (-vv for very verbose)') |
| 999 | 999 | [CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'use incremental compilation') |
src/etc/completions/x.py.zsh+47-47| ... | ... | @@ -16,7 +16,7 @@ _x.py() { |
| 16 | 16 | local context curcontext="$curcontext" state line |
| 17 | 17 | _arguments "${_arguments_options[@]}" : \ |
| 18 | 18 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 19 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 19 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 20 | 20 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 21 | 21 | '--host=[host targets to build]:HOST:' \ |
| 22 | 22 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -37,7 +37,7 @@ _x.py() { |
| 37 | 37 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 38 | 38 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 39 | 39 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 40 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 40 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 41 | 41 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 42 | 42 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 43 | 43 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -66,7 +66,7 @@ _x.py() { |
| 66 | 66 | (build) |
| 67 | 67 | _arguments "${_arguments_options[@]}" : \ |
| 68 | 68 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 69 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 69 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 70 | 70 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 71 | 71 | '--host=[host targets to build]:HOST:' \ |
| 72 | 72 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -87,7 +87,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 87 | 87 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 88 | 88 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 89 | 89 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 90 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 90 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 91 | 91 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 92 | 92 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 93 | 93 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -108,7 +108,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 108 | 108 | (check) |
| 109 | 109 | _arguments "${_arguments_options[@]}" : \ |
| 110 | 110 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 111 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 111 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 112 | 112 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 113 | 113 | '--host=[host targets to build]:HOST:' \ |
| 114 | 114 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -129,7 +129,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 129 | 129 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 130 | 130 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 131 | 131 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 132 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 132 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 133 | 133 | '--all-targets[Check all targets]' \ |
| 134 | 134 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 135 | 135 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -155,7 +155,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 155 | 155 | '*-W+[clippy lints to warn on]:LINT:_default' \ |
| 156 | 156 | '*-F+[clippy lints to forbid]:LINT:_default' \ |
| 157 | 157 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 158 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 158 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 159 | 159 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 160 | 160 | '--host=[host targets to build]:HOST:' \ |
| 161 | 161 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -176,7 +176,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 176 | 176 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 177 | 177 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 178 | 178 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 179 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 179 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 180 | 180 | '--fix[]' \ |
| 181 | 181 | '--allow-dirty[]' \ |
| 182 | 182 | '--allow-staged[]' \ |
| ... | ... | @@ -200,7 +200,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 200 | 200 | (fix) |
| 201 | 201 | _arguments "${_arguments_options[@]}" : \ |
| 202 | 202 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 203 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 203 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 204 | 204 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 205 | 205 | '--host=[host targets to build]:HOST:' \ |
| 206 | 206 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -221,7 +221,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 221 | 221 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 222 | 222 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 223 | 223 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 224 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 224 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 225 | 225 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 226 | 226 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 227 | 227 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -242,7 +242,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 242 | 242 | (fmt) |
| 243 | 243 | _arguments "${_arguments_options[@]}" : \ |
| 244 | 244 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 245 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 245 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 246 | 246 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 247 | 247 | '--host=[host targets to build]:HOST:' \ |
| 248 | 248 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -263,7 +263,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 263 | 263 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 264 | 264 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 265 | 265 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 266 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 266 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 267 | 267 | '--check[check formatting instead of applying]' \ |
| 268 | 268 | '--all[apply to all appropriate files, not just those that have been modified]' \ |
| 269 | 269 | '*-v[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -286,7 +286,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 286 | 286 | (doc) |
| 287 | 287 | _arguments "${_arguments_options[@]}" : \ |
| 288 | 288 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 289 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 289 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 290 | 290 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 291 | 291 | '--host=[host targets to build]:HOST:' \ |
| 292 | 292 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -307,7 +307,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 307 | 307 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 308 | 308 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 309 | 309 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 310 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 310 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 311 | 311 | '--open[open the docs in a browser]' \ |
| 312 | 312 | '--json[render the documentation in JSON format in addition to the usual HTML format]' \ |
| 313 | 313 | '*-v[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -336,7 +336,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 336 | 336 | '--pass=[force {check,build,run}-pass tests to this mode]:check | build | run:_default' \ |
| 337 | 337 | '--run=[whether to execute run-* tests]:auto | always | never:_default' \ |
| 338 | 338 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 339 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 339 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 340 | 340 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 341 | 341 | '--host=[host targets to build]:HOST:' \ |
| 342 | 342 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -357,7 +357,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 357 | 357 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 358 | 358 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 359 | 359 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 360 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 360 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 361 | 361 | '--no-fail-fast[run all tests regardless of failure]' \ |
| 362 | 362 | '--no-doc[do not run doc tests]' \ |
| 363 | 363 | '--doc[only run doc tests]' \ |
| ... | ... | @@ -387,7 +387,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 387 | 387 | _arguments "${_arguments_options[@]}" : \ |
| 388 | 388 | '*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS:_default' \ |
| 389 | 389 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 390 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 390 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 391 | 391 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 392 | 392 | '--host=[host targets to build]:HOST:' \ |
| 393 | 393 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -408,7 +408,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 408 | 408 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 409 | 409 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 410 | 410 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 411 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 411 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 412 | 412 | '--no-fail-fast[run all tests regardless of failure]' \ |
| 413 | 413 | '--no-doc[do not run doc tests]' \ |
| 414 | 414 | '--doc[only run doc tests]' \ |
| ... | ... | @@ -433,7 +433,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 433 | 433 | _arguments "${_arguments_options[@]}" : \ |
| 434 | 434 | '*--test-args=[]:TEST_ARGS:_default' \ |
| 435 | 435 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 436 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 436 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 437 | 437 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 438 | 438 | '--host=[host targets to build]:HOST:' \ |
| 439 | 439 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -454,7 +454,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 454 | 454 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 455 | 455 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 456 | 456 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 457 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 457 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 458 | 458 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 459 | 459 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 460 | 460 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -476,7 +476,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 476 | 476 | _arguments "${_arguments_options[@]}" : \ |
| 477 | 477 | '--stage=[Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used]:N:_default' \ |
| 478 | 478 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 479 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 479 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 480 | 480 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 481 | 481 | '--host=[host targets to build]:HOST:' \ |
| 482 | 482 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -496,7 +496,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 496 | 496 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 497 | 497 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 498 | 498 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 499 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 499 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 500 | 500 | '--all[Clean the entire build directory (not used by default)]' \ |
| 501 | 501 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 502 | 502 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -518,7 +518,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 518 | 518 | (dist) |
| 519 | 519 | _arguments "${_arguments_options[@]}" : \ |
| 520 | 520 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 521 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 521 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 522 | 522 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 523 | 523 | '--host=[host targets to build]:HOST:' \ |
| 524 | 524 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -539,7 +539,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 539 | 539 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 540 | 540 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 541 | 541 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 542 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 542 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 543 | 543 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 544 | 544 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 545 | 545 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -560,7 +560,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 560 | 560 | (install) |
| 561 | 561 | _arguments "${_arguments_options[@]}" : \ |
| 562 | 562 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 563 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 563 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 564 | 564 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 565 | 565 | '--host=[host targets to build]:HOST:' \ |
| 566 | 566 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -581,7 +581,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 581 | 581 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 582 | 582 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 583 | 583 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 584 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 584 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 585 | 585 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 586 | 586 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 587 | 587 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -603,7 +603,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 603 | 603 | _arguments "${_arguments_options[@]}" : \ |
| 604 | 604 | '*--args=[arguments for the tool]:ARGS:_default' \ |
| 605 | 605 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 606 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 606 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 607 | 607 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 608 | 608 | '--host=[host targets to build]:HOST:' \ |
| 609 | 609 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -624,7 +624,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 624 | 624 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 625 | 625 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 626 | 626 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 627 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 627 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 628 | 628 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 629 | 629 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 630 | 630 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -645,7 +645,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 645 | 645 | (setup) |
| 646 | 646 | _arguments "${_arguments_options[@]}" : \ |
| 647 | 647 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 648 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 648 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 649 | 649 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 650 | 650 | '--host=[host targets to build]:HOST:' \ |
| 651 | 651 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -666,7 +666,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 666 | 666 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 667 | 667 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 668 | 668 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 669 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 669 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 670 | 670 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 671 | 671 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 672 | 672 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -681,14 +681,14 @@ _arguments "${_arguments_options[@]}" : \ |
| 681 | 681 | '--skip-stage0-validation[Skip stage0 compiler validation]' \ |
| 682 | 682 | '-h[Print help (see more with '\''--help'\'')]' \ |
| 683 | 683 | '--help[Print help (see more with '\''--help'\'')]' \ |
| 684 | '::profile -- Either the profile for `config.toml` or another setup action. May be omitted to set up interactively:_files' \ | |
| 684 | '::profile -- Either the profile for `bootstrap.toml` or another setup action. May be omitted to set up interactively:_files' \ | |
| 685 | 685 | '*::paths -- paths for the subcommand:_files' \ |
| 686 | 686 | && ret=0 |
| 687 | 687 | ;; |
| 688 | 688 | (suggest) |
| 689 | 689 | _arguments "${_arguments_options[@]}" : \ |
| 690 | 690 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 691 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 691 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 692 | 692 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 693 | 693 | '--host=[host targets to build]:HOST:' \ |
| 694 | 694 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -709,7 +709,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 709 | 709 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 710 | 710 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 711 | 711 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 712 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 712 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 713 | 713 | '--run[run suggested tests]' \ |
| 714 | 714 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 715 | 715 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -732,7 +732,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 732 | 732 | _arguments "${_arguments_options[@]}" : \ |
| 733 | 733 | '*--sync=[Additional \`Cargo.toml\` to sync and vendor]:SYNC:_files' \ |
| 734 | 734 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 735 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 735 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 736 | 736 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 737 | 737 | '--host=[host targets to build]:HOST:' \ |
| 738 | 738 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -753,7 +753,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 753 | 753 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 754 | 754 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 755 | 755 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 756 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 756 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 757 | 757 | '--versioned-dirs[Always include version in subdir name]' \ |
| 758 | 758 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 759 | 759 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -775,7 +775,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 775 | 775 | (perf) |
| 776 | 776 | _arguments "${_arguments_options[@]}" : \ |
| 777 | 777 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 778 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 778 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 779 | 779 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 780 | 780 | '--host=[host targets to build]:HOST:' \ |
| 781 | 781 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -796,7 +796,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 796 | 796 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 797 | 797 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 798 | 798 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 799 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 799 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 800 | 800 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 801 | 801 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 802 | 802 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -830,7 +830,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 830 | 830 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 831 | 831 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 832 | 832 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 833 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 833 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 834 | 834 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 835 | 835 | '--host=[host targets to build]:HOST:' \ |
| 836 | 836 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -850,7 +850,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 850 | 850 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 851 | 851 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 852 | 852 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 853 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 853 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 854 | 854 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 855 | 855 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 856 | 856 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -875,7 +875,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 875 | 875 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 876 | 876 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 877 | 877 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 878 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 878 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 879 | 879 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 880 | 880 | '--host=[host targets to build]:HOST:' \ |
| 881 | 881 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -895,7 +895,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 895 | 895 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 896 | 896 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 897 | 897 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 898 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 898 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 899 | 899 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 900 | 900 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 901 | 901 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -920,7 +920,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 920 | 920 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 921 | 921 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 922 | 922 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 923 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 923 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 924 | 924 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 925 | 925 | '--host=[host targets to build]:HOST:' \ |
| 926 | 926 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -940,7 +940,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 940 | 940 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 941 | 941 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 942 | 942 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 943 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 943 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 944 | 944 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 945 | 945 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 946 | 946 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -965,7 +965,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 965 | 965 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 966 | 966 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 967 | 967 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 968 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 968 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 969 | 969 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 970 | 970 | '--host=[host targets to build]:HOST:' \ |
| 971 | 971 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -985,7 +985,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 985 | 985 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 986 | 986 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 987 | 987 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 988 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 988 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 989 | 989 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 990 | 990 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 991 | 991 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -1007,7 +1007,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 1007 | 1007 | (compare) |
| 1008 | 1008 | _arguments "${_arguments_options[@]}" : \ |
| 1009 | 1009 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 1010 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 1010 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 1011 | 1011 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 1012 | 1012 | '--host=[host targets to build]:HOST:' \ |
| 1013 | 1013 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -1028,7 +1028,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 1028 | 1028 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 1029 | 1029 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 1030 | 1030 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 1031 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 1031 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 1032 | 1032 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 1033 | 1033 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 1034 | 1034 | '-i[use incremental compilation]' \ |
src/etc/completions/x.zsh+47-47| ... | ... | @@ -16,7 +16,7 @@ _x() { |
| 16 | 16 | local context curcontext="$curcontext" state line |
| 17 | 17 | _arguments "${_arguments_options[@]}" : \ |
| 18 | 18 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 19 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 19 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 20 | 20 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 21 | 21 | '--host=[host targets to build]:HOST:' \ |
| 22 | 22 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -37,7 +37,7 @@ _x() { |
| 37 | 37 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 38 | 38 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 39 | 39 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 40 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 40 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 41 | 41 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 42 | 42 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 43 | 43 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -66,7 +66,7 @@ _x() { |
| 66 | 66 | (build) |
| 67 | 67 | _arguments "${_arguments_options[@]}" : \ |
| 68 | 68 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 69 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 69 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 70 | 70 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 71 | 71 | '--host=[host targets to build]:HOST:' \ |
| 72 | 72 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -87,7 +87,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 87 | 87 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 88 | 88 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 89 | 89 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 90 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 90 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 91 | 91 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 92 | 92 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 93 | 93 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -108,7 +108,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 108 | 108 | (check) |
| 109 | 109 | _arguments "${_arguments_options[@]}" : \ |
| 110 | 110 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 111 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 111 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 112 | 112 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 113 | 113 | '--host=[host targets to build]:HOST:' \ |
| 114 | 114 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -129,7 +129,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 129 | 129 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 130 | 130 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 131 | 131 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 132 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 132 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 133 | 133 | '--all-targets[Check all targets]' \ |
| 134 | 134 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 135 | 135 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -155,7 +155,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 155 | 155 | '*-W+[clippy lints to warn on]:LINT:_default' \ |
| 156 | 156 | '*-F+[clippy lints to forbid]:LINT:_default' \ |
| 157 | 157 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 158 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 158 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 159 | 159 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 160 | 160 | '--host=[host targets to build]:HOST:' \ |
| 161 | 161 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -176,7 +176,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 176 | 176 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 177 | 177 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 178 | 178 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 179 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 179 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 180 | 180 | '--fix[]' \ |
| 181 | 181 | '--allow-dirty[]' \ |
| 182 | 182 | '--allow-staged[]' \ |
| ... | ... | @@ -200,7 +200,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 200 | 200 | (fix) |
| 201 | 201 | _arguments "${_arguments_options[@]}" : \ |
| 202 | 202 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 203 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 203 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 204 | 204 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 205 | 205 | '--host=[host targets to build]:HOST:' \ |
| 206 | 206 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -221,7 +221,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 221 | 221 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 222 | 222 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 223 | 223 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 224 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 224 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 225 | 225 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 226 | 226 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 227 | 227 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -242,7 +242,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 242 | 242 | (fmt) |
| 243 | 243 | _arguments "${_arguments_options[@]}" : \ |
| 244 | 244 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 245 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 245 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 246 | 246 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 247 | 247 | '--host=[host targets to build]:HOST:' \ |
| 248 | 248 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -263,7 +263,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 263 | 263 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 264 | 264 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 265 | 265 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 266 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 266 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 267 | 267 | '--check[check formatting instead of applying]' \ |
| 268 | 268 | '--all[apply to all appropriate files, not just those that have been modified]' \ |
| 269 | 269 | '*-v[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -286,7 +286,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 286 | 286 | (doc) |
| 287 | 287 | _arguments "${_arguments_options[@]}" : \ |
| 288 | 288 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 289 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 289 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 290 | 290 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 291 | 291 | '--host=[host targets to build]:HOST:' \ |
| 292 | 292 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -307,7 +307,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 307 | 307 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 308 | 308 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 309 | 309 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 310 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 310 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 311 | 311 | '--open[open the docs in a browser]' \ |
| 312 | 312 | '--json[render the documentation in JSON format in addition to the usual HTML format]' \ |
| 313 | 313 | '*-v[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -336,7 +336,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 336 | 336 | '--pass=[force {check,build,run}-pass tests to this mode]:check | build | run:_default' \ |
| 337 | 337 | '--run=[whether to execute run-* tests]:auto | always | never:_default' \ |
| 338 | 338 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 339 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 339 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 340 | 340 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 341 | 341 | '--host=[host targets to build]:HOST:' \ |
| 342 | 342 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -357,7 +357,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 357 | 357 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 358 | 358 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 359 | 359 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 360 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 360 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 361 | 361 | '--no-fail-fast[run all tests regardless of failure]' \ |
| 362 | 362 | '--no-doc[do not run doc tests]' \ |
| 363 | 363 | '--doc[only run doc tests]' \ |
| ... | ... | @@ -387,7 +387,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 387 | 387 | _arguments "${_arguments_options[@]}" : \ |
| 388 | 388 | '*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS:_default' \ |
| 389 | 389 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 390 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 390 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 391 | 391 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 392 | 392 | '--host=[host targets to build]:HOST:' \ |
| 393 | 393 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -408,7 +408,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 408 | 408 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 409 | 409 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 410 | 410 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 411 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 411 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 412 | 412 | '--no-fail-fast[run all tests regardless of failure]' \ |
| 413 | 413 | '--no-doc[do not run doc tests]' \ |
| 414 | 414 | '--doc[only run doc tests]' \ |
| ... | ... | @@ -433,7 +433,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 433 | 433 | _arguments "${_arguments_options[@]}" : \ |
| 434 | 434 | '*--test-args=[]:TEST_ARGS:_default' \ |
| 435 | 435 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 436 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 436 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 437 | 437 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 438 | 438 | '--host=[host targets to build]:HOST:' \ |
| 439 | 439 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -454,7 +454,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 454 | 454 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 455 | 455 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 456 | 456 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 457 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 457 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 458 | 458 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 459 | 459 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 460 | 460 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -476,7 +476,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 476 | 476 | _arguments "${_arguments_options[@]}" : \ |
| 477 | 477 | '--stage=[Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used]:N:_default' \ |
| 478 | 478 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 479 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 479 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 480 | 480 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 481 | 481 | '--host=[host targets to build]:HOST:' \ |
| 482 | 482 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -496,7 +496,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 496 | 496 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 497 | 497 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 498 | 498 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 499 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 499 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 500 | 500 | '--all[Clean the entire build directory (not used by default)]' \ |
| 501 | 501 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 502 | 502 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -518,7 +518,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 518 | 518 | (dist) |
| 519 | 519 | _arguments "${_arguments_options[@]}" : \ |
| 520 | 520 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 521 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 521 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 522 | 522 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 523 | 523 | '--host=[host targets to build]:HOST:' \ |
| 524 | 524 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -539,7 +539,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 539 | 539 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 540 | 540 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 541 | 541 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 542 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 542 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 543 | 543 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 544 | 544 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 545 | 545 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -560,7 +560,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 560 | 560 | (install) |
| 561 | 561 | _arguments "${_arguments_options[@]}" : \ |
| 562 | 562 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 563 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 563 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 564 | 564 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 565 | 565 | '--host=[host targets to build]:HOST:' \ |
| 566 | 566 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -581,7 +581,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 581 | 581 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 582 | 582 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 583 | 583 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 584 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 584 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 585 | 585 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 586 | 586 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 587 | 587 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -603,7 +603,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 603 | 603 | _arguments "${_arguments_options[@]}" : \ |
| 604 | 604 | '*--args=[arguments for the tool]:ARGS:_default' \ |
| 605 | 605 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 606 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 606 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 607 | 607 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 608 | 608 | '--host=[host targets to build]:HOST:' \ |
| 609 | 609 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -624,7 +624,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 624 | 624 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 625 | 625 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 626 | 626 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 627 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 627 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 628 | 628 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 629 | 629 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 630 | 630 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -645,7 +645,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 645 | 645 | (setup) |
| 646 | 646 | _arguments "${_arguments_options[@]}" : \ |
| 647 | 647 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 648 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 648 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 649 | 649 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 650 | 650 | '--host=[host targets to build]:HOST:' \ |
| 651 | 651 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -666,7 +666,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 666 | 666 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 667 | 667 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 668 | 668 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 669 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 669 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 670 | 670 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 671 | 671 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 672 | 672 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -681,14 +681,14 @@ _arguments "${_arguments_options[@]}" : \ |
| 681 | 681 | '--skip-stage0-validation[Skip stage0 compiler validation]' \ |
| 682 | 682 | '-h[Print help (see more with '\''--help'\'')]' \ |
| 683 | 683 | '--help[Print help (see more with '\''--help'\'')]' \ |
| 684 | '::profile -- Either the profile for `config.toml` or another setup action. May be omitted to set up interactively:_files' \ | |
| 684 | '::profile -- Either the profile for `bootstrap.toml` or another setup action. May be omitted to set up interactively:_files' \ | |
| 685 | 685 | '*::paths -- paths for the subcommand:_files' \ |
| 686 | 686 | && ret=0 |
| 687 | 687 | ;; |
| 688 | 688 | (suggest) |
| 689 | 689 | _arguments "${_arguments_options[@]}" : \ |
| 690 | 690 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 691 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 691 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 692 | 692 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 693 | 693 | '--host=[host targets to build]:HOST:' \ |
| 694 | 694 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -709,7 +709,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 709 | 709 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 710 | 710 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 711 | 711 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 712 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 712 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 713 | 713 | '--run[run suggested tests]' \ |
| 714 | 714 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 715 | 715 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -732,7 +732,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 732 | 732 | _arguments "${_arguments_options[@]}" : \ |
| 733 | 733 | '*--sync=[Additional \`Cargo.toml\` to sync and vendor]:SYNC:_files' \ |
| 734 | 734 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 735 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 735 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 736 | 736 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 737 | 737 | '--host=[host targets to build]:HOST:' \ |
| 738 | 738 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -753,7 +753,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 753 | 753 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 754 | 754 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 755 | 755 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 756 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 756 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 757 | 757 | '--versioned-dirs[Always include version in subdir name]' \ |
| 758 | 758 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 759 | 759 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| ... | ... | @@ -775,7 +775,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 775 | 775 | (perf) |
| 776 | 776 | _arguments "${_arguments_options[@]}" : \ |
| 777 | 777 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 778 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 778 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 779 | 779 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 780 | 780 | '--host=[host targets to build]:HOST:' \ |
| 781 | 781 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -796,7 +796,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 796 | 796 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 797 | 797 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 798 | 798 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 799 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 799 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 800 | 800 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 801 | 801 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 802 | 802 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -830,7 +830,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 830 | 830 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 831 | 831 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 832 | 832 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 833 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 833 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 834 | 834 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 835 | 835 | '--host=[host targets to build]:HOST:' \ |
| 836 | 836 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -850,7 +850,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 850 | 850 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 851 | 851 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 852 | 852 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 853 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 853 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 854 | 854 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 855 | 855 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 856 | 856 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -875,7 +875,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 875 | 875 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 876 | 876 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 877 | 877 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 878 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 878 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 879 | 879 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 880 | 880 | '--host=[host targets to build]:HOST:' \ |
| 881 | 881 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -895,7 +895,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 895 | 895 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 896 | 896 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 897 | 897 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 898 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 898 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 899 | 899 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 900 | 900 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 901 | 901 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -920,7 +920,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 920 | 920 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 921 | 921 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 922 | 922 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 923 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 923 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 924 | 924 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 925 | 925 | '--host=[host targets to build]:HOST:' \ |
| 926 | 926 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -940,7 +940,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 940 | 940 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 941 | 941 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 942 | 942 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 943 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 943 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 944 | 944 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 945 | 945 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 946 | 946 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -965,7 +965,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 965 | 965 | '*--scenarios=[Select the scenarios that should be benchmarked]:SCENARIOS:(Full IncrFull IncrUnchanged IncrPatched)' \ |
| 966 | 966 | '*--profiles=[Select the profiles that should be benchmarked]:PROFILES:(Check Debug Doc Opt Clippy)' \ |
| 967 | 967 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 968 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 968 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 969 | 969 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 970 | 970 | '--host=[host targets to build]:HOST:' \ |
| 971 | 971 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -985,7 +985,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 985 | 985 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 986 | 986 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 987 | 987 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 988 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 988 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 989 | 989 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 990 | 990 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 991 | 991 | '-i[use incremental compilation]' \ |
| ... | ... | @@ -1007,7 +1007,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 1007 | 1007 | (compare) |
| 1008 | 1008 | _arguments "${_arguments_options[@]}" : \ |
| 1009 | 1009 | '--config=[TOML configuration file for build]:FILE:_files' \ |
| 1010 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \ | |
| 1010 | '--build-dir=[Build directory, overrides \`build.build-dir\` in \`bootstrap.toml\`]:DIR:_files -/' \ | |
| 1011 | 1011 | '--build=[build target of the stage0 compiler]:BUILD:' \ |
| 1012 | 1012 | '--host=[host targets to build]:HOST:' \ |
| 1013 | 1013 | '--target=[target targets to build]:TARGET:' \ |
| ... | ... | @@ -1028,7 +1028,7 @@ _arguments "${_arguments_options[@]}" : \ |
| 1028 | 1028 | '--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \ |
| 1029 | 1029 | '--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \ |
| 1030 | 1030 | '*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \ |
| 1031 | '*--set=[override options in config.toml]:section.option=value:' \ | |
| 1031 | '*--set=[override options in bootstrap.toml]:section.option=value:' \ | |
| 1032 | 1032 | '*-v[use verbose output (-vv for very verbose)]' \ |
| 1033 | 1033 | '*--verbose[use verbose output (-vv for very verbose)]' \ |
| 1034 | 1034 | '-i[use incremental compilation]' \ |
src/tools/compiletest/src/main.rs+1-1| ... | ... | @@ -27,7 +27,7 @@ fn main() { |
| 27 | 27 | eprintln!( |
| 28 | 28 | r#" |
| 29 | 29 | WARNING: profiler runtime is not available, so `.coverage` files won't be {actioned} |
| 30 | help: try setting `profiler = true` in the `[build]` section of `config.toml`"# | |
| 30 | help: try setting `profiler = true` in the `[build]` section of `bootstrap.toml`"# | |
| 31 | 31 | ); |
| 32 | 32 | } |
| 33 | 33 |
src/tools/miri/CONTRIBUTING.md+1-1| ... | ... | @@ -153,7 +153,7 @@ MIRI_LOG=rustc_mir::interpret=info,miri::stacked_borrows ./miri run tests/pass/v |
| 153 | 153 | |
| 154 | 154 | Note that you will only get `info`, `warn` or `error` messages if you use a prebuilt compiler. |
| 155 | 155 | In order to get `debug` and `trace` level messages, you need to build miri with a locally built |
| 156 | compiler that has `debug=true` set in `config.toml`. | |
| 156 | compiler that has `debug=true` set in `bootstrap.toml`. | |
| 157 | 157 | |
| 158 | 158 | #### Debugging error messages |
| 159 | 159 |
src/tools/miri/cargo-miri/src/setup.rs+1-1| ... | ... | @@ -115,7 +115,7 @@ pub fn setup( |
| 115 | 115 | // https://github.com/rust-lang/miri/issues/1421, |
| 116 | 116 | // https://github.com/rust-lang/miri/issues/2429). Looks like setting |
| 117 | 117 | // `RUSTC_WRAPPER` to the empty string overwrites `build.rustc-wrapper` set via |
| 118 | // `config.toml`. | |
| 118 | // `bootstrap.toml`. | |
| 119 | 119 | command.env("RUSTC_WRAPPER", ""); |
| 120 | 120 | |
| 121 | 121 | if show_setup { |
src/tools/opt-dist/src/main.rs+11-3| ... | ... | @@ -369,9 +369,17 @@ fn main() -> anyhow::Result<()> { |
| 369 | 369 | println!("Environment values\n{}", format_env_variables()); |
| 370 | 370 | }); |
| 371 | 371 | |
| 372 | with_log_group("Printing config.toml", || { | |
| 373 | if let Ok(config) = std::fs::read_to_string("config.toml") { | |
| 374 | println!("Contents of `config.toml`:\n{config}"); | |
| 372 | with_log_group("Printing bootstrap.toml", || { | |
| 373 | let config_file = if std::path::Path::new("bootstrap.toml").exists() { | |
| 374 | "bootstrap.toml" | |
| 375 | } else { | |
| 376 | "config.toml" // Fall back for backward compatibility | |
| 377 | }; | |
| 378 | ||
| 379 | if let Ok(config) = std::fs::read_to_string(config_file) { | |
| 380 | println!("Contents of `bootstrap.toml`:\n{config}"); | |
| 381 | } else { | |
| 382 | eprintln!("Failed to read `{}`", config_file); | |
| 375 | 383 | } |
| 376 | 384 | }); |
| 377 | 385 |
src/tools/opt-dist/src/tests.rs+2-2| ... | ... | @@ -85,10 +85,10 @@ llvm-config = "{llvm_config}" |
| 85 | 85 | cargo = cargo_path.to_string().replace('\\', "/"), |
| 86 | 86 | llvm_config = llvm_config.to_string().replace('\\', "/") |
| 87 | 87 | ); |
| 88 | log::info!("Using following `config.toml` for running tests:\n{config_content}"); | |
| 88 | log::info!("Using following `bootstrap.toml` for running tests:\n{config_content}"); | |
| 89 | 89 | |
| 90 | 90 | // Simulate a stage 0 compiler with the extracted optimized dist artifacts. |
| 91 | with_backed_up_file(Path::new("config.toml"), &config_content, || { | |
| 91 | with_backed_up_file(Path::new("bootstrap.toml"), &config_content, || { | |
| 92 | 92 | let x_py = env.checkout_path().join("x.py"); |
| 93 | 93 | let mut args = vec![ |
| 94 | 94 | env.python_binary(), |
src/tools/rustdoc-gui-test/src/main.rs+1-1| ... | ... | @@ -20,7 +20,7 @@ fn get_browser_ui_test_version_inner(npm: &Path, global: bool) -> Option<String> |
| 20 | 20 | Err(e) => { |
| 21 | 21 | eprintln!( |
| 22 | 22 | "path to npm can be wrong, provided path: {npm:?}. Try to set npm path \ |
| 23 | in config.toml in [build.npm]", | |
| 23 | in bootstrap.toml in [build.npm]", | |
| 24 | 24 | ); |
| 25 | 25 | panic!("{:?}", e) |
| 26 | 26 | } |
tests/run-make/linker-warning/rmake.rs+1-1| ... | ... | @@ -4,7 +4,7 @@ fn run_rustc() -> Rustc { |
| 4 | 4 | let mut rustc = rustc(); |
| 5 | 5 | rustc |
| 6 | 6 | .arg("main.rs") |
| 7 | // NOTE: `link-self-contained` can vary depending on config.toml. | |
| 7 | // NOTE: `link-self-contained` can vary depending on bootstrap.toml. | |
| 8 | 8 | // Make sure we use a consistent value. |
| 9 | 9 | .arg("-Clink-self-contained=-linker") |
| 10 | 10 | .arg("-Zunstable-options") |
triagebot.toml+3-3| ... | ... | @@ -421,7 +421,7 @@ trigger_files = [ |
| 421 | 421 | trigger_files = [ |
| 422 | 422 | "Cargo.toml", |
| 423 | 423 | "configure", |
| 424 | "config.example.toml", | |
| 424 | "bootstrap.example.toml", | |
| 425 | 425 | "src/bootstrap", |
| 426 | 426 | "src/build_helper", |
| 427 | 427 | "src/tools/rust-installer", |
| ... | ... | @@ -948,9 +948,9 @@ This PR modifies `src/bootstrap/defaults`. |
| 948 | 948 | |
| 949 | 949 | If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`. |
| 950 | 950 | """ |
| 951 | [mentions."config.example.toml"] | |
| 951 | [mentions."bootstrap.example.toml"] | |
| 952 | 952 | message = """ |
| 953 | This PR modifies `config.example.toml`. | |
| 953 | This PR modifies `bootstrap.example.toml`. | |
| 954 | 954 | |
| 955 | 955 | If appropriate, please update `CONFIG_CHANGE_HISTORY` in `src/bootstrap/src/utils/change_tracker.rs`. |
| 956 | 956 | """ |