File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ pub(super) fn handle_needs(
101101} ,
102102Need {
103103name : "needs-profiler-runtime" ,
104- condition : cache . profiler_runtime ,
104+ condition : config . profiler_runtime ,
105105ignore_reason : "ignored when the profiler runtime is not available" ,
106106} ,
107107Need {
@@ -220,7 +220,6 @@ pub(super) struct CachedNeedsConditions {
220220sanitizer_memtag : bool ,
221221sanitizer_shadow_call_stack : bool ,
222222sanitizer_safestack : bool ,
223- profiler_runtime : bool ,
224223xray : bool ,
225224rust_lld : bool ,
226225dlltool : bool ,
@@ -247,7 +246,6 @@ impl CachedNeedsConditions {
247246sanitizer_memtag : sanitizers. contains ( & Sanitizer :: Memtag ) ,
248247sanitizer_shadow_call_stack : sanitizers. contains ( & Sanitizer :: ShadowCallStack ) ,
249248sanitizer_safestack : sanitizers. contains ( & Sanitizer :: Safestack ) ,
250- profiler_runtime : config. profiler_runtime ,
251249xray : 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