Skip to content

Commit ef689e9

Browse files
debug
1 parent 4cabe23 commit ef689e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build_system/src/prepare.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ fn prepare_libcore(sysroot_path: &Path) -> Result<(), String> {
3939
))?;
4040

4141
run_command(&[&"cp", &"-r", &rustlib_dir.join("library"), &sysroot_dir], None)?;
42+
run_command_with_output(&[&"ls", &"-R", &sysroot_dir], None)?;
4243

4344
println!("[GIT] init (cwd): `{}`", sysroot_dir.display());
4445
run_command(&[&"git", &"init"], Some(&sysroot_dir))?;

build_system/src/utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pub fn run_command_with_output(
7676

7777
pub fn cargo_install(to_install: &str) -> Result<(), String> {
7878
let output = run_command(&[&"cargo", &"install", &"--list"], None)?;
79+
println!("===> cargo list: {}", String::from_utf8_lossy(&output.stdout));
7980

8081
let to_install_needle = format!("{to_install} ");
8182
// cargo install --list returns something like this:

0 commit comments

Comments
 (0)