16
16
//! More documentation can be found in each respective module below, and you can
17
17
//! also check out the `src/bootstrap/README.md` file for more information.
18
18
19
+ mod core;
20
+ mod utils;
21
+
19
22
use std:: cell:: { Cell , RefCell } ;
20
23
use std:: collections:: { BTreeSet , HashMap , HashSet } ;
21
24
use std:: fmt:: Display ;
@@ -30,26 +33,20 @@ use build_helper::ci::gha;
30
33
use build_helper:: exit;
31
34
use sha2:: digest:: Digest ;
32
35
use termcolor:: { ColorChoice , StandardStream , WriteColor } ;
33
- use utils:: channel:: GitInfo ;
34
- use utils:: helpers:: hex_encode;
35
36
37
+ pub use self :: core:: builder:: PathSet ;
38
+ pub use self :: core:: config:: Config ;
39
+ pub use self :: core:: config:: flags:: { Flags , Subcommand } ;
36
40
use crate :: core:: builder;
37
41
use crate :: core:: builder:: { Builder , Kind } ;
38
42
use crate :: core:: config:: { DryRun , LldMode , LlvmLibunwind , Target , TargetSelection , flags} ;
43
+ pub use crate :: utils:: change_tracker:: {
44
+ CONFIG_CHANGE_HISTORY , find_recent_config_change_ids, human_readable_changes,
45
+ } ;
46
+ use crate :: utils:: channel:: GitInfo ;
39
47
use crate :: utils:: exec:: { BehaviorOnFailure , BootstrapCommand , CommandOutput , OutputMode , command} ;
40
48
use crate :: utils:: helpers:: {
41
- self , dir_is_empty, exe, libdir, mtime, output, set_file_times, symlink_dir,
42
- } ;
43
-
44
- mod core;
45
- mod utils;
46
-
47
- pub use core:: builder:: PathSet ;
48
- pub use core:: config:: Config ;
49
- pub use core:: config:: flags:: { Flags , Subcommand } ;
50
-
51
- pub use utils:: change_tracker:: {
52
- CONFIG_CHANGE_HISTORY , find_recent_config_change_ids, human_readable_changes,
49
+ self , dir_is_empty, exe, hex_encode, libdir, mtime, output, set_file_times, symlink_dir,
53
50
} ;
54
51
55
52
const LLVM_TOOLS : & [ & str ] = & [
0 commit comments