File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
125125 "needs-dlltool" ,
126126 "needs-dynamic-linking" ,
127127 "needs-enzyme" ,
128+ "needs-enzyme-disabled" ,
128129 "needs-force-clang-based-tests" ,
129130 "needs-git-hash" ,
130131 "needs-llvm-components" ,
Original file line number Diff line number Diff line change @@ -84,6 +84,11 @@ pub(super) fn handle_needs(
8484 condition : config. has_enzyme ,
8585 ignore_reason : "ignored when LLVM Enzyme is disabled" ,
8686 } ,
87+ Need {
88+ name : "needs-enzyme-disabled" ,
89+ condition : !config. has_enzyme ,
90+ ignore_reason : "ignored when LLVM Enzyme is enabled" ,
91+ } ,
8792 Need {
8893 name : "needs-run-enabled" ,
8994 condition : config. run_enabled ( ) ,
You can’t perform that action at this time.
0 commit comments