Skip to content

Commit 3075579

Browse files
committed
add prints
1 parent 96efb8a commit 3075579

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/bootstrap/src/bin/main.rs

+9
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,17 @@ fn main() {
7979
println!("{suggestion}");
8080
}
8181

82+
println!("suggest setup completed");
83+
8284
let pre_commit = config.src.join(".git").join("hooks").join("pre-commit");
8385
let dump_bootstrap_shims = config.dump_bootstrap_shims;
8486
let out_dir = config.out.clone();
8587

88+
println!("building");
8689
Build::new(config).build();
90+
println!("build completed");
8791

92+
println!("checking setup");
8893
if suggest_setup {
8994
println!("WARNING: you have not made a `config.toml`");
9095
println!(
@@ -94,6 +99,7 @@ fn main() {
9499
} else if let Some(suggestion) = &changelog_suggestion {
95100
println!("{suggestion}");
96101
}
102+
println!("checking setup completed");
97103

98104
// Give a warning if the pre-commit script is in pre-commit and not pre-push.
99105
// HACK: Since the commit script uses hard links, we can't actually tell if it was installed by x.py setup or not.
@@ -107,6 +113,7 @@ fn main() {
107113
Consider moving it to .git/hooks/pre-push instead, which runs less often."
108114
);
109115
}
116+
println!("pre-commit check completed");
110117

111118
if suggest_setup || changelog_suggestion.is_some() {
112119
println!("NOTE: this message was printed twice to make it more likely to be seen");
@@ -134,6 +141,8 @@ fn main() {
134141
t!(file.write_all(lines.join("\n").as_bytes()));
135142
}
136143
}
144+
145+
println!("dump bootstrap shims completed");
137146
}
138147

139148
fn check_version(config: &Config) -> Option<String> {

0 commit comments

Comments
 (0)