Skip to content

Commit dca9fe0

Browse files
committed
explain reasoning behind spawn API
1 parent 2270572 commit dca9fe0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/src/utils/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ impl GitInfo {
5959
}
6060

6161
// Ok, let's scrape some info
62+
// We use the command's spawn API to execute these commands concurrently, which leads to performance improvements.
6263
let mut git_log_cmd = helpers::git(Some(dir));
6364
let ver_date = git_log_cmd
6465
.arg("log")

0 commit comments

Comments
 (0)