Skip to content

Commit a0d5049

Browse files
committed
fixing ci
Signed-off-by: Karan Janthe <[email protected]>
1 parent 8aacbbe commit a0d5049

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

compiler/rustc_codegen_llvm/src/builder/autodiff.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,3 +640,14 @@ pub(crate) fn add_tt<'ll>(
640640
llvm::EnzymeTypeTreeToStringFree(c_str.as_ptr());
641641
}
642642
}
643+
644+
// Fallback implementation when Enzyme is not available
645+
#[cfg(not(llvm_enzyme))]
646+
pub(crate) fn add_tt<'ll>(
647+
_llmod: &'ll llvm::Module,
648+
_llcx: &'ll llvm::Context,
649+
_fn_def: &'ll Value,
650+
_tt: FncTree,
651+
) {
652+
unimplemented!()
653+
}

0 commit comments

Comments
 (0)