Skip to content

Commit e50052e

Browse files
committed
label application and bisection entry points
1 parent 6784118 commit e50052e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ fn check_bounds(start: &Option<Bound>, end: &Option<Bound>) -> Result<(), Error>
990990
Ok(())
991991
}
992992

993+
// Application entry point
993994
fn run() -> Result<(), Error> {
994995
env_logger::try_init()?;
995996
let args = env::args_os().filter(|a| a != "bisect-rustc");
@@ -1039,6 +1040,7 @@ fn install(cfg: &Config, client: &Client, bound: &Bound) -> Result<(), Error> {
10391040
Ok(())
10401041
}
10411042

1043+
// bisection entry point
10421044
fn bisect(cfg: &Config, client: &Client) -> Result<(), Error> {
10431045
if cfg.is_commit {
10441046
let bisection_result = bisect_ci(&cfg, &client)?;

0 commit comments

Comments
 (0)