You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#123942 - onur-ozkan:x-vendor, r=Mark-Simulacrum
`x vendor`
This PR implements `x vendor` on bootstrap; enabling dependency vendoring without the need for developers to have `cargo` installed on their system (previously, we suggested running `cargo vendor ...` but now we can accomplish the same task with `x vendor`).
In addition, fixesrust-lang#112391 problem.
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l on-fail -d'command to run on failure'-r-f-a"(__fish_complete_command)"
604
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l stage -d'stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)'-r-f
605
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l keep-stage -d'stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)'-r-f
606
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l keep-stage-std -d'stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)'-r-f
607
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l src -d'path to the root of the rust checkout'-r-f-a"(__fish_complete_directories)"
608
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-s j -ljobs-d'number of jobs to run in parallel'-r-f
609
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l warnings -d'if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour'-r-f-a"{deny '',warn '',default ''}"
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l reproducible-artifact -d'Additional reproducible artifacts that should be added to the reproducible artifacts archive'-r
617
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-lset-d'override options in config.toml'-r-f
618
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l versioned-dirs-d'Always include version in subdir name'
619
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-s v -l verbose -d'use verbose output (-vv for very verbose)'
620
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-s i -l incremental -d'use incremental compilation'
621
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l include-default-paths -d'include default paths in addition to the provided ones'
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l bypass-bootstrap-lock -d'Bootstrap uses this value to decide whether it should bypass locking the build process. This is rarely needed (e.g., compiling the std library for different targets in parallel)'
626
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l llvm-profile-generate -d'generate PGO profile with llvm built for rustc'
627
+
complete-c x.py -n"__fish_seen_subcommand_from vendor"-l enable-bolt-settings -d'Enable BOLT link flags'
[CompletionResult]::new('--on-fail','on-fail', [CompletionResultType]::ParameterName,'command to run on failure')
739
+
[CompletionResult]::new('--stage','stage', [CompletionResultType]::ParameterName,'stage to build (indicates compiler to use/test, e.g., stage 0 uses the bootstrap compiler, stage 1 the stage 0 rustc artifacts, etc.)')
740
+
[CompletionResult]::new('--keep-stage','keep-stage', [CompletionResultType]::ParameterName,'stage(s) to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)')
741
+
[CompletionResult]::new('--keep-stage-std','keep-stage-std', [CompletionResultType]::ParameterName,'stage(s) of the standard library to keep without recompiling (pass multiple times to keep e.g., both stages 0 and 1)')
742
+
[CompletionResult]::new('--src','src', [CompletionResultType]::ParameterName,'path to the root of the rust checkout')
743
+
[CompletionResult]::new('-j','j', [CompletionResultType]::ParameterName,'number of jobs to run in parallel')
744
+
[CompletionResult]::new('--jobs','jobs', [CompletionResultType]::ParameterName,'number of jobs to run in parallel')
745
+
[CompletionResult]::new('--warnings','warnings', [CompletionResultType]::ParameterName,'if value is deny, will deny warnings if value is warn, will emit warnings otherwise, use the default configured behaviour')
[CompletionResult]::new('--color','color', [CompletionResultType]::ParameterName,'whether to use color in cargo and rustc output')
748
+
[CompletionResult]::new('--llvm-skip-rebuild','llvm-skip-rebuild', [CompletionResultType]::ParameterName,'whether rebuilding llvm should be skipped, overriding `skip-rebuld` in config.toml')
749
+
[CompletionResult]::new('--rust-profile-generate','rust-profile-generate', [CompletionResultType]::ParameterName,'generate PGO profile with rustc build')
750
+
[CompletionResult]::new('--rust-profile-use','rust-profile-use', [CompletionResultType]::ParameterName,'use PGO profile for rustc build')
751
+
[CompletionResult]::new('--llvm-profile-use','llvm-profile-use', [CompletionResultType]::ParameterName,'use PGO profile for LLVM build')
752
+
[CompletionResult]::new('--reproducible-artifact','reproducible-artifact', [CompletionResultType]::ParameterName,'Additional reproducible artifacts that should be added to the reproducible artifacts archive')
753
+
[CompletionResult]::new('--set','set', [CompletionResultType]::ParameterName,'override options in config.toml')
754
+
[CompletionResult]::new('--versioned-dirs','versioned-dirs', [CompletionResultType]::ParameterName,'Always include version in subdir name')
755
+
[CompletionResult]::new('-v','v', [CompletionResultType]::ParameterName,'use verbose output (-vv for very verbose)')
756
+
[CompletionResult]::new('--verbose','verbose', [CompletionResultType]::ParameterName,'use verbose output (-vv for very verbose)')
[CompletionResult]::new('--include-default-paths','include-default-paths', [CompletionResultType]::ParameterName,'include default paths in addition to the provided ones')
[CompletionResult]::new('--dump-bootstrap-shims','dump-bootstrap-shims', [CompletionResultType]::ParameterName,'Indicates whether to dump the work done from bootstrap shims')
[CompletionResult]::new('--bypass-bootstrap-lock','bypass-bootstrap-lock', [CompletionResultType]::ParameterName,'Bootstrap uses this value to decide whether it should bypass locking the build process. This is rarely needed (e.g., compiling the std library for different targets in parallel)')
764
+
[CompletionResult]::new('--llvm-profile-generate','llvm-profile-generate', [CompletionResultType]::ParameterName,'generate PGO profile with llvm built for rustc')
765
+
[CompletionResult]::new('--enable-bolt-settings','enable-bolt-settings', [CompletionResultType]::ParameterName,'Enable BOLT link flags')
0 commit comments