File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ pub struct LayerConfig {
227
227
/// "debugserver"]`
228
228
#[ config( env = "MIRRORD_SKIP_BUILD_TOOLS" , default = true ) ]
229
229
pub skip_build_tools : bool ,
230
-
230
+
231
231
/// ## skip_extra_build_tools {#root-skip_build_tools}
232
232
///
233
233
/// Same as skip_build_tools but allows for skipping custom build tools.
Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ static BUILD_TOOL_PROCESSES: LazyLock<HashSet<&'static str>> = LazyLock::new(||
40
40
} ) ;
41
41
42
42
static COMBINED_BUILD_TOOLS : LazyLock < HashSet < String > > = LazyLock :: new ( || {
43
- let mut combined = BUILD_TOOL_PROCESSES . iter ( ) . map ( |& s| s. to_string ( ) ) . collect :: < HashSet < String > > ( ) ;
43
+ let mut combined = BUILD_TOOL_PROCESSES
44
+ . iter ( )
45
+ . map ( |& s| s. to_string ( ) )
46
+ . collect :: < HashSet < String > > ( ) ;
44
47
if let Ok ( extra_tools) = env:: var ( "MIRRORD_SKIP_EXTRA_BUILD_TOOLS" ) {
45
48
combined. extend ( extra_tools. split ( ';' ) . map ( |s| s. trim ( ) . to_string ( ) ) ) ;
46
49
}
@@ -93,7 +96,7 @@ impl ExecuteArgs {
93
96
}
94
97
95
98
fn is_build_tool ( & self ) -> bool {
96
- COMBINED_BUILD_TOOLS . contains ( self . exec_name . as_str ( ) )
99
+ COMBINED_BUILD_TOOLS . contains ( self . exec_name . as_str ( ) )
97
100
|| COMBINED_BUILD_TOOLS . contains ( self . invoked_as . as_str ( ) )
98
101
}
99
102
You can’t perform that action at this time.
0 commit comments