File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1035,14 +1035,8 @@ def check_vendored_status(self):
1035
1035
if self .use_vendored_sources :
1036
1036
vendor_dir = os .path .join (self .rust_root , 'vendor' )
1037
1037
if not os .path .exists (vendor_dir ):
1038
- sync_dirs = "--sync ./src/tools/cargo/Cargo.toml " \
1039
- "--sync ./src/tools/rust-analyzer/Cargo.toml " \
1040
- "--sync ./compiler/rustc_codegen_cranelift/Cargo.toml " \
1041
- "--sync ./compiler/rustc_codegen_gcc/Cargo.toml " \
1042
- "--sync ./src/bootstrap/Cargo.toml "
1043
1038
eprint ('ERROR: vendoring required, but vendor directory does not exist.' )
1044
- eprint (' Run `cargo vendor {}` to initialize the '
1045
- 'vendor directory.' .format (sync_dirs ))
1039
+ eprint (' Run `x.py vendor` to initialize the vendor directory.' )
1046
1040
eprint (' Alternatively, use the pre-vendored `rustc-src` dist component.' )
1047
1041
eprint (' To get a stable/beta/nightly version, download it from: ' )
1048
1042
eprint (' '
You can’t perform that action at this time.
0 commit comments