|
|
|
@ -17,27 +17,27 @@ _x.py() {
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -53,7 +53,7 @@ _x.py() {
|
|
|
|
|
'-h[Print help (see more with '\''--help'\'')]' \
|
|
|
|
|
'--help[Print help (see more with '\''--help'\'')]' \
|
|
|
|
|
'::paths -- paths for the subcommand:_files' \
|
|
|
|
|
'::free_args -- arguments passed to subcommands:' \
|
|
|
|
|
'::free_args -- arguments passed to subcommands:_default' \
|
|
|
|
|
":: :_x.py_commands" \
|
|
|
|
|
"*::: :->bootstrap" \
|
|
|
|
|
&& ret=0
|
|
|
|
@ -67,27 +67,27 @@ _x.py() {
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -109,27 +109,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--all-targets[Check all targets]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -150,33 +150,33 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(clippy)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*-A+[clippy lints to allow]:LINT: ' \
|
|
|
|
|
'*-D+[clippy lints to deny]:LINT: ' \
|
|
|
|
|
'*-W+[clippy lints to warn on]:LINT: ' \
|
|
|
|
|
'*-F+[clippy lints to forbid]:LINT: ' \
|
|
|
|
|
'*-A+[clippy lints to allow]:LINT:_default' \
|
|
|
|
|
'*-D+[clippy lints to deny]:LINT:_default' \
|
|
|
|
|
'*-W+[clippy lints to warn on]:LINT:_default' \
|
|
|
|
|
'*-F+[clippy lints to forbid]:LINT:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--fix[]' \
|
|
|
|
|
'--allow-dirty[]' \
|
|
|
|
|
'--allow-staged[]' \
|
|
|
|
@ -201,27 +201,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -243,27 +243,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--check[check formatting instead of applying]' \
|
|
|
|
|
'--all[apply to all appropriate files, not just those that have been modified]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -287,27 +287,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--open[open the docs in a browser]' \
|
|
|
|
|
'--json[render the documentation in JSON format in addition to the usual HTML format]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -329,35 +329,35 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(test)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS: ' \
|
|
|
|
|
'*--compiletest-rustc-args=[extra options to pass the compiler when running compiletest tests]:ARGS: ' \
|
|
|
|
|
'--extra-checks=[comma-separated list of other files types to check (accepts py, py\:lint, py\:fmt, shell)]:EXTRA_CHECKS: ' \
|
|
|
|
|
'--compare-mode=[mode describing what file the actual ui output will be compared to]:COMPARE MODE: ' \
|
|
|
|
|
'--pass=[force {check,build,run}-pass tests to this mode]:check | build | run: ' \
|
|
|
|
|
'--run=[whether to execute run-* tests]:auto | always | never: ' \
|
|
|
|
|
'*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS:_default' \
|
|
|
|
|
'*--compiletest-rustc-args=[extra options to pass the compiler when running compiletest tests]:ARGS:_default' \
|
|
|
|
|
'--extra-checks=[comma-separated list of other files types to check (accepts py, py\:lint, py\:fmt, shell)]:EXTRA_CHECKS:_default' \
|
|
|
|
|
'--compare-mode=[mode describing what file the actual ui output will be compared to]:COMPARE MODE:_default' \
|
|
|
|
|
'--pass=[force {check,build,run}-pass tests to this mode]:check | build | run:_default' \
|
|
|
|
|
'--run=[whether to execute run-* tests]:auto | always | never:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--no-fail-fast[run all tests regardless of failure]' \
|
|
|
|
|
'--no-doc[do not run doc tests]' \
|
|
|
|
|
'--doc[only run doc tests]' \
|
|
|
|
@ -384,30 +384,30 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(miri)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS: ' \
|
|
|
|
|
'*--test-args=[extra arguments to be passed for the test tool being used (e.g. libtest, compiletest or rustdoc)]:ARGS:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--no-fail-fast[run all tests regardless of failure]' \
|
|
|
|
|
'--no-doc[do not run doc tests]' \
|
|
|
|
|
'--doc[only run doc tests]' \
|
|
|
|
@ -430,30 +430,30 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(bench)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*--test-args=[]:TEST_ARGS: ' \
|
|
|
|
|
'*--test-args=[]:TEST_ARGS:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -473,29 +473,29 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(clean)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--stage=[Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used]:N: ' \
|
|
|
|
|
'--stage=[Clean a specific stage without touching other artifacts. By default, every stage is cleaned if this option is not used]:N:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--all[Clean the entire build directory (not used by default)]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -518,27 +518,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -560,27 +560,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -600,30 +600,30 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
;;
|
|
|
|
|
(run)
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*--args=[arguments for the tool]:ARGS: ' \
|
|
|
|
|
'*--args=[arguments for the tool]:ARGS:_default' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -645,27 +645,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
@ -688,27 +688,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--run[run suggested tests]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -732,27 +732,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'*--sync=[Additional \`Cargo.toml\` to sync and vendor]:SYNC:_files' \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'--versioned-dirs[Always include version in subdir name]' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
@ -775,27 +775,27 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
|
|
_arguments "${_arguments_options[@]}" : \
|
|
|
|
|
'--config=[TOML configuration file for build]:FILE:_files' \
|
|
|
|
|
'--build-dir=[Build directory, overrides \`build.build-dir\` in \`config.toml\`]:DIR:_files -/' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:( )' \
|
|
|
|
|
'--host=[host targets to build]:HOST:( )' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:( )' \
|
|
|
|
|
'--build=[build target of the stage0 compiler]:BUILD:' \
|
|
|
|
|
'--host=[host targets to build]:HOST:' \
|
|
|
|
|
'--target=[target targets to build]:TARGET:' \
|
|
|
|
|
'*--exclude=[build paths to exclude]:PATH:_files' \
|
|
|
|
|
'*--skip=[build paths to skip]:PATH:_files' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:( )' \
|
|
|
|
|
'--rustc-error-format=[]:RUSTC_ERROR_FORMAT:' \
|
|
|
|
|
'--on-fail=[command to run on failure]:CMD:_cmdstring' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:( )' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:( )' \
|
|
|
|
|
'--stage=[stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)]:N:' \
|
|
|
|
|
'*--keep-stage=[stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'*--keep-stage-std=[stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)]:N:' \
|
|
|
|
|
'--src=[path to the root of the rust checkout]:DIR:_files -/' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:( )' \
|
|
|
|
|
'-j+[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--jobs=[number of jobs to run in parallel]:JOBS:' \
|
|
|
|
|
'--warnings=[if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour]:deny|warn:(deny warn default)' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:( )' \
|
|
|
|
|
'--error-format=[rustc error format]:FORMAT:' \
|
|
|
|
|
'--color=[whether to use color in cargo and rustc output]:STYLE:(always never auto)' \
|
|
|
|
|
'--rust-profile-generate=[generate PGO profile with rustc build]:PROFILE:_files' \
|
|
|
|
|
'--rust-profile-use=[use PGO profile for rustc build]:PROFILE:_files' \
|
|
|
|
|
'--llvm-profile-use=[use PGO profile for LLVM build]:PROFILE:_files' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT: ' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:( )' \
|
|
|
|
|
'*--reproducible-artifact=[Additional reproducible artifacts that should be added to the reproducible artifacts archive]:REPRODUCIBLE_ARTIFACT:_default' \
|
|
|
|
|
'*--set=[override options in config.toml]:section.option=value:' \
|
|
|
|
|
'*-v[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'*--verbose[use verbose output (-vv for very verbose)]' \
|
|
|
|
|
'-i[use incremental compilation]' \
|
|
|
|
|