File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ pub(super) fn handle_needs(
101101 } ,
102102 Need {
103103 name : "needs-profiler-runtime" ,
104- condition : cache . profiler_runtime ,
104+ condition : config . profiler_runtime ,
105105 ignore_reason : "ignored when the profiler runtime is not available" ,
106106 } ,
107107 Need {
@@ -220,7 +220,6 @@ pub(super) struct CachedNeedsConditions {
220220 sanitizer_memtag : bool ,
221221 sanitizer_shadow_call_stack : bool ,
222222 sanitizer_safestack : bool ,
223- profiler_runtime : bool ,
224223 xray : bool ,
225224 rust_lld : bool ,
226225 dlltool : bool ,
@@ -247,7 +246,6 @@ impl CachedNeedsConditions {
247246 sanitizer_memtag : sanitizers. contains ( & Sanitizer :: Memtag ) ,
248247 sanitizer_shadow_call_stack : sanitizers. contains ( & Sanitizer :: ShadowCallStack ) ,
249248 sanitizer_safestack : sanitizers. contains ( & Sanitizer :: Safestack ) ,
250- profiler_runtime : config. profiler_runtime ,
251249 xray : config. target_cfg ( ) . xray ,
252250
253251 // For tests using the `needs-rust-lld` directive (e.g. for `-Clink-self-contained=+linker`),
You can’t perform that action at this time.
0 commit comments