File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ pub(super) fn handle_needs(
87
87
} ,
88
88
Need {
89
89
name : "needs-profiler-support" ,
90
- condition : std :: env :: var_os ( "RUSTC_PROFILER_SUPPORT" ) . is_some ( ) ,
90
+ condition : cache . profiler_support ,
91
91
ignore_reason : "ignored when profiler support is disabled" ,
92
92
} ,
93
93
Need {
@@ -195,6 +195,7 @@ pub(super) struct CachedNeedsConditions {
195
195
sanitizer_memtag : bool ,
196
196
sanitizer_shadow_call_stack : bool ,
197
197
sanitizer_safestack : bool ,
198
+ profiler_support : bool ,
198
199
xray : bool ,
199
200
rust_lld : bool ,
200
201
i686_dlltool : bool ,
@@ -232,6 +233,7 @@ impl CachedNeedsConditions {
232
233
sanitizer_memtag : util:: MEMTAG_SUPPORTED_TARGETS . contains ( target) ,
233
234
sanitizer_shadow_call_stack : util:: SHADOWCALLSTACK_SUPPORTED_TARGETS . contains ( target) ,
234
235
sanitizer_safestack : util:: SAFESTACK_SUPPORTED_TARGETS . contains ( target) ,
236
+ profiler_support : std:: env:: var_os ( "RUSTC_PROFILER_SUPPORT" ) . is_some ( ) ,
235
237
xray : util:: XRAY_SUPPORTED_TARGETS . contains ( target) ,
236
238
237
239
// For tests using the `needs-rust-lld` directive (e.g. for `-Zgcc-ld=lld`), we need to find
You can’t perform that action at this time.
0 commit comments